Pierre Quentel <pierre.quen...@gmail.com> added the comment:

Hi Glenn, good to hear from you ;-)

I think the fix can be simplified replacing

dir_sep = collapsed_path.find('/', 1)

by

dir_sep = collapsed_path.rfind('/', 1)

----------
nosy: +quentel

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

Reply via email to