Meador Inge <mead...@gmail.com> added the comment:

I think it might be easier to just always use the absolute path rather than 
looking at the directory length.  Maybe something like the attached.  I added 
unit tests as well.

----------
nosy: +meador.inge
stage: test needed -> patch review
Added file: http://bugs.python.org/file23523/issue12618-0.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12618>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to