issue 133: [PATCH] Fix occasional resource lookup error

It proposes the change
os.path.dirname(__file__)
to
os.path.dirname(os.path.realpath(__file__))
in a code section dealing with resource paths.

Python 2.6 docs:
"""
os.path.realpath(path)

Return the canonical path of the specified filename, eliminating any
symbolic links encountered in the path (if they are supported by the
operating system).
"""

While I know about the general concept of simlinks my os is windows, which
do not handles simlinks.
Could Linux people comment on the patch proposed ?
Sorry for not pasting the diff, cutting from issue tracker to paste in the
gmail web interfase losses indentation

--
claudio

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" 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/cocos-discuss?hl=en.

Reply via email to