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 /tests | |
| 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 'tests')
| -rw-r--r-- | tests/old/lock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/old/lock.py b/tests/old/lock.py index d45b3964..f19d3e43 100644 --- a/tests/old/lock.py +++ b/tests/old/lock.py @@ -20,7 +20,7 @@ if __name__ == "__main__": if pid == 0: try: apt_pkg.PkgSystemLock() - except SystemError, s: + except SystemError as s: print "Can't get lock: (error text:\n%s)" % s sys.exit(0) |
