diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-01-10 18:20:56 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-01-10 18:20:56 +0100 |
| commit | 9a7ba43318252998aef48b04949f036ac4667042 (patch) | |
| tree | c87be2fbc36d6e4ad393450e3eda76a46db13f33 /utils | |
| parent | b0c7c1ab8c33d8f4c7dae341ac9c74bb7bc1c699 (diff) | |
| parent | 660c5bbf9d2793a392572e1c23eb36b4e9298792 (diff) | |
| download | python-apt-9a7ba43318252998aef48b04949f036ac4667042.tar.gz | |
merged from the mvo branch, added changelog from Michael Bienia
Diffstat (limited to 'utils')
| -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): |
