##// END OF EJS Templates
Bundled path.py should not modify the os module
Thomas Kluyver -
Show More
@@ -84,9 +84,9 b' except NameError:'
84 84 unicode = str
85 85
86 86 try:
87 os.getcwdu
87 getcwdu = os.getcwdu
88 88 except AttributeError:
89 os.getcwdu = os.getcwd
89 getcwdu = os.getcwd
90 90
91 91 if sys.version < '3':
92 92 def u(x):
@@ -214,7 +214,7 b' class path(unicode):'
214 214 @classmethod
215 215 def getcwd(cls):
216 216 """ Return the current working directory as a path object. """
217 return cls(os.getcwdu())
217 return cls(getcwdu())
218 218
219 219 #
220 220 # --- Operations on path strings.
General Comments 0
You need to be logged in to leave comments. Login now