diff options
| author | Nick Mathewson <nickm@torproject.org> | 2003-05-21 18:43:36 +0000 |
|---|---|---|
| committer | Nick Mathewson <nickm@torproject.org> | 2003-05-21 18:43:36 +0000 |
| commit | beb61b16d4947fca7801c2e0077b3a2e944c2023 (patch) | |
| tree | 4e1fe5c04b77469cc9359a4b3a8feb58e3842cbf /reconcile.py | |
| parent | cf63ed4edebe9803a982255d4b440d18d4ee3f54 (diff) | |
| download | anonbib-beb61b16d4947fca7801c2e0077b3a2e944c2023.tar.gz | |
Fix a couple of bugs
svn:r24
Diffstat (limited to 'reconcile.py')
| -rw-r--r-- | reconcile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reconcile.py b/reconcile.py index fae4be6..8228528 100644 --- a/reconcile.py +++ b/reconcile.py @@ -3,7 +3,7 @@ import sys import re -assert sys.version[:3] >= (2,2,0) +assert sys.version_info[:3] >= (2,2,0) import BibTeX import config @@ -230,7 +230,7 @@ print "========= Scanning new file ========" try: fn = sys.argv[1] input = BibTeX.parseFile(fn) -except BibTex.ParseError, e: +except BibTeX.ParseError, e: print "Error parsing %s: %s"%(fn,e) sys.exit(1) |
