diff options
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) |
