branch | stable |
changeset 10124 | 08384d8777a4 |
parent 10120 | fb890a546d44 |
child 10126 | 78b8acae2088 |
child 10263 | 25e572394f5c |
--- a/setup.py Wed Dec 23 18:40:21 2009 +0100 +++ b/setup.py Wed Dec 23 19:11:37 2009 +0100 @@ -145,8 +145,8 @@ if version.endswith('+'): version += time.strftime('%Y%m%d') elif os.path.exists('.hg_archival.txt'): - kw = dict([t.strip() for t in l.split(':', 1)] - for l in open('.hg_archival.txt')) + kw = dict([[t.strip() for t in l.split(':', 1)] + for l in open('.hg_archival.txt')]) if 'tag' in kw: version = kw['tag'] elif 'latesttag' in kw: