##// END OF EJS Templates
Fixing subtle bug in expanduser(expandvars(path)) on Windows....
Fixing subtle bug in expanduser(expandvars(path)) on Windows. On Windows, some paths can have the string $\ in them: \\server\users$\%username%. The "$" means it is a hidden share. Unfortunately, os.path.expandvars turns that into: \\server\users\%username% (it deletes the '$'). I have implemented a simple function (expand_path) that calls os.expanduser and os.expandvars in a way that preserves th '$' on Windows in this case.
Brian Granger -
r2324:811a55ae
Show More
Name Size Modified Last Commit Author
/ IPython / utils
tests
DPyGetOpt.py Loading ...
PyColorize.py Loading ...
__init__.py Loading ...
autoattr.py Loading ...
coloransi.py Loading ...
generics.py Loading ...
genutils.py Loading ...
growl.py Loading ...
importstring.py Loading ...
ipstruct.py Loading ...
notification.py Loading ...
pickleshare.py Loading ...
platutils.py Loading ...
platutils_dummy.py Loading ...
platutils_posix.py Loading ...
platutils_win32.py Loading ...
rlineimpl.py Loading ...
strdispatch.py Loading ...
syspathcontext.py Loading ...
traitlets.py Loading ...
upgradedir.py Loading ...
wildcard.py Loading ...
winconsole.py Loading ...