summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-06-28 16:01:29 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-06-28 16:01:29 +0200
commit5a05be08148871001206ae60b01ed88514189817 (patch)
tree97de5d9c5490a65c5045203251b295195a8df181 /apt
parent2597f1449e1b81b0a626390d67c35cd6c8f863b9 (diff)
downloadpython-apt-5a05be08148871001206ae60b01ed88514189817.tar.gz
* fix typo "cancelt" -> "Cancelled"
Diffstat (limited to 'apt')
-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