##// END OF EJS Templates
py3: use raw string for file open mode...
Gregory Szorc -
r36053:788b2e85 default
parent child Browse files
Show More
@@ -218,7 +218,7 b' class zipit(object):'
218 dest.tell()
218 dest.tell()
219 except (AttributeError, IOError):
219 except (AttributeError, IOError):
220 dest = tellable(dest)
220 dest = tellable(dest)
221 self.z = zipfile.ZipFile(dest, 'w',
221 self.z = zipfile.ZipFile(dest, r'w',
222 compress and zipfile.ZIP_DEFLATED or
222 compress and zipfile.ZIP_DEFLATED or
223 zipfile.ZIP_STORED)
223 zipfile.ZIP_STORED)
224
224
General Comments 0
You need to be logged in to leave comments. Login now