summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-01-10 18:20:56 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-01-10 18:20:56 +0100
commit9a7ba43318252998aef48b04949f036ac4667042 (patch)
treec87be2fbc36d6e4ad393450e3eda76a46db13f33 /apt/cache.py
parentb0c7c1ab8c33d8f4c7dae341ac9c74bb7bc1c699 (diff)
parent660c5bbf9d2793a392572e1c23eb36b4e9298792 (diff)
downloadpython-apt-9a7ba43318252998aef48b04949f036ac4667042.tar.gz
merged from the mvo branch, added changelog from Michael Bienia
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()