summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
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()