Show More
@@ -145,8 +145,8 b" if os.path.isdir('.hg'):" | |||
|
145 | 145 | if version.endswith('+'): |
|
146 | 146 | version += time.strftime('%Y%m%d') |
|
147 | 147 | elif os.path.exists('.hg_archival.txt'): |
|
148 | kw = dict([t.strip() for t in l.split(':', 1)] | |
|
149 | for l in open('.hg_archival.txt')) | |
|
148 | kw = dict([[t.strip() for t in l.split(':', 1)] | |
|
149 | for l in open('.hg_archival.txt')]) | |
|
150 | 150 | if 'tag' in kw: |
|
151 | 151 | version = kw['tag'] |
|
152 | 152 | elif 'latesttag' in kw: |
General Comments 0
You need to be logged in to leave comments.
Login now