From 660c5bbf9d2793a392572e1c23eb36b4e9298792 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 10 Jan 2011 18:08:13 +0100 Subject: merged lp:~geser/ubuntu/natty/python-apt/build-with-py3.2 (manually as bzr thinks the branches have nothing in common) --- tests/old/lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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) -- cgit v1.2.3