##// END OF EJS Templates
remove str
Srinivas Reddy Thatiparthy -
Show More
@@ -87,7 +87,6 b" def unquote_filename(name, win32=(sys.platform=='win32')):"
87 def compress_user(path):
87 def compress_user(path):
88 """Reverse of :func:`os.path.expanduser`
88 """Reverse of :func:`os.path.expanduser`
89 """
89 """
90 path = str(path)
91 home = os.path.expanduser('~')
90 home = os.path.expanduser('~')
92 if path.startswith(home):
91 if path.startswith(home):
93 path = "~" + path[len(home):]
92 path = "~" + path[len(home):]
General Comments 0
You need to be logged in to leave comments. Login now