#5690: Use os.path.dirname() not os.path.join(foo, '..')
------------------------------------------------+---------------------------
Reporter: Thomas Güttler <[EMAIL PROTECTED]> | Owner:
nobody
Status: closed | Component:
django-admin.py
Version: SVN | Resolution:
worksforme
Keywords: | Stage:
Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------------------------------+---------------------------
Changes (by Thomas Güttler <[EMAIL PROTECTED]>):
* status: new => closed
* resolution: => worksforme
Comment:
My problem was, that the import failed, because the directory was a
symlink.
I changed my setup and can't reproduce the problem. Using ".." (without
normpath) is a bad way to get the upper directory, since it can fail. See
shell example above. Nevertheless I close this ticket. Sorry for the
noise.
--
Ticket URL: <http://code.djangoproject.com/ticket/5690#comment:7>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---