summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'apt/cache.py')
-rw-r--r--apt/cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt/cache.py b/apt/cache.py
index 31919e79..65f3c9d9 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -25,7 +25,7 @@ import apt.progress
import os
import sys
-class FetchCanceltException(IOError):
+class FetchCancelledException(IOError):
" Exception that is thrown when the user cancels a fetch operation "
pass
class FetchFailedException(IOError):
@@ -141,7 +141,7 @@ class Cache(object):
# we raise a exception if the download failed or it was cancelt
if res == fetcher.ResultCancelled:
- raise FetchCanceltException, errMsg
+ raise FetchCancelledException, errMsg
elif failed:
raise FetchFailedException, errMsg
return res