Show More
@@ -445,9 +445,9 b' class queue(object):' | |||||
445 | def __init__(self, ui, baseui, path, patchdir=None): |
|
445 | def __init__(self, ui, baseui, path, patchdir=None): | |
446 | self.basepath = path |
|
446 | self.basepath = path | |
447 | try: |
|
447 | try: | |
448 |
|
|
448 | with open(os.path.join(path, 'patches.queue'), r'rb') as fh: | |
449 | cur = fh.read().rstrip() |
|
449 | cur = fh.read().rstrip() | |
450 | fh.close() |
|
450 | ||
451 | if not cur: |
|
451 | if not cur: | |
452 | curpath = os.path.join(path, 'patches') |
|
452 | curpath = os.path.join(path, 'patches') | |
453 | else: |
|
453 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now