diff options
| author | Michael Vogt <mvo@debian.org> | 2011-02-18 22:37:34 +0100 |
|---|---|---|
| committer | Michael Vogt <mvo@debian.org> | 2011-02-18 22:37:34 +0100 |
| commit | be46a92a5621d2c199792ead5371afb979f32f9c (patch) | |
| tree | 3d4397fc802685b433b1f72cf7067907c4a6540f /tests | |
| parent | 45100d466f6c392758ff2e490cdfee9aae7e55a7 (diff) | |
| parent | 2885341cf3d7a1050be1bf2a45237395a3149feb (diff) | |
| download | python-apt-be46a92a5621d2c199792ead5371afb979f32f9c.tar.gz | |
merged from lp:~mvo/python-apt/mvo
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) |
