summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-01-10 18:08:13 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-01-10 18:08:13 +0100
commit660c5bbf9d2793a392572e1c23eb36b4e9298792 (patch)
treea74476633321630911690e7f513869efe5026132 /apt/cache.py
parentb221e38a33871bc7040e457051c38ef222e618e5 (diff)
downloadpython-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 'apt/cache.py')
-rw-r--r--apt/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/cache.py b/apt/cache.py
index 586df366..4b917236 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -360,7 +360,7 @@ class Cache(object):
try:
res = self._cache.update(fetch_progress, slist,
pulse_interval)
- except SystemError, e:
+ except SystemError as e:
raise FetchFailedException(e)
if not res and raise_on_error:
raise FetchFailedException()