author | Martin Geisler <mg@lazybytes.net> |
Wed, 23 Dec 2009 19:18:03 +0100 | |
changeset 10126 | 78b8acae2088 |
parent 10125 | 19c3fefdaec9 (current diff) |
parent 10124 | 08384d8777a4 (diff) |
child 10127 | d8214e944b84 |
--- a/setup.py Wed Dec 23 17:46:48 2009 +0000 +++ b/setup.py Wed Dec 23 19:18:03 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: