summaryrefslogtreecommitdiff
path: root/utils/migrate-0.8.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-01-10 18:08:13 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-01-10 18:08:13 +0100
commit660c5bbf9d2793a392572e1c23eb36b4e9298792 (patch)
treea74476633321630911690e7f513869efe5026132 /utils/migrate-0.8.py
parentb221e38a33871bc7040e457051c38ef222e618e5 (diff)
downloadpython-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-xutils/migrate-0.8.py2
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):