##// END OF EJS Templates
Fix small bug in UNC path context manager.
Fernando Perez -
Show More
@@ -55,6 +55,10 b' class AvoidUNCPath(object):'
55 55 # change to c drive (as cmd.exe cannot handle UNC addresses)
56 56 os.chdir("C:")
57 57 return self.path
58 else:
59 # We return None to signal that there was no change in the working
60 # directory
61 return None
58 62
59 63 def __exit__(self, exc_type, exc_value, traceback):
60 64 if self.is_unc_path:
General Comments 0
You need to be logged in to leave comments. Login now