##// END OF EJS Templates
py3: open patches.queue in binary mode...
Gregory Szorc -
r36124:bff95b00 default
parent child Browse files
Show More
@@ -445,9 +445,9 b' class queue(object):'
445 445 def __init__(self, ui, baseui, path, patchdir=None):
446 446 self.basepath = path
447 447 try:
448 fh = open(os.path.join(path, 'patches.queue'))
449 cur = fh.read().rstrip()
450 fh.close()
448 with open(os.path.join(path, 'patches.queue'), r'rb') as fh:
449 cur = fh.read().rstrip()
450
451 451 if not cur:
452 452 curpath = os.path.join(path, 'patches')
453 453 else:
General Comments 0
You need to be logged in to leave comments. Login now