##// END OF EJS Templates
PR cleanup according to comments.
Antony Lee -
Show More
@@ -121,7 +121,7 b' def protect_filename(s):'
121 121 if sys.platform == "win32":
122 122 return '"' + s + '"'
123 123 else:
124 return "".join("\\" + c if c in PROTECTABLES else c for c in s)
124 return "".join(("\\" + c if c in PROTECTABLES else c) for c in s)
125 125 else:
126 126 return s
127 127
@@ -73,6 +73,9 b' def get_long_path_name(path):'
73 73
74 74 def unquote_filename(name, win32=(sys.platform=='win32')):
75 75 """ On Windows, remove leading and trailing quotes from filenames.
76
77 This function has been deprecated and should not be used any more:
78 unquoting is now taken care of by :func:`IPython.utils.process.arg_split`.
76 79 """
77 80 warn("'unquote_filename' is deprecated", DeprecationWarning)
78 81 if win32:
General Comments 0
You need to be logged in to leave comments. Login now