diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-01-10 18:08:13 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-01-10 18:08:13 +0100 |
| commit | 660c5bbf9d2793a392572e1c23eb36b4e9298792 (patch) | |
| tree | a74476633321630911690e7f513869efe5026132 /utils/migrate-0.8.py | |
| parent | b221e38a33871bc7040e457051c38ef222e618e5 (diff) | |
| download | python-apt-660c5bbf9d2793a392572e1c23eb36b4e9298792.tar.gz | |
merged lp:~geser/ubuntu/natty/python-apt/build-with-py3.2 (manually as bzr thinks the branches have nothing in common)
Diffstat (limited to 'utils/migrate-0.8.py')
| -rwxr-xr-x | utils/migrate-0.8.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/migrate-0.8.py b/utils/migrate-0.8.py index 9f7790f7..555257a9 100755 --- a/utils/migrate-0.8.py +++ b/utils/migrate-0.8.py @@ -202,7 +202,7 @@ def find_occurences(all_old, files): words = defaultdict(lambda: set()) try: node = ast.parse(open(fname, "rU").read(), fname) - except Exception, e: + except Exception as e: print >> sys.stderr, "Ignoring %s: %s" % (fname, e) continue for i in ast.walk(node): |
