diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-06-28 16:01:29 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-06-28 16:01:29 +0200 |
| commit | 5a05be08148871001206ae60b01ed88514189817 (patch) | |
| tree | 97de5d9c5490a65c5045203251b295195a8df181 | |
| parent | 2597f1449e1b81b0a626390d67c35cd6c8f863b9 (diff) | |
| download | python-apt-5a05be08148871001206ae60b01ed88514189817.tar.gz | |
* fix typo "cancelt" -> "Cancelled"
| -rw-r--r-- | apt/cache.py | 4 | ||||
| -rw-r--r-- | debian/changelog | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/debian/changelog b/debian/changelog index f7ef33d0..2e61f39b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,7 +7,7 @@ python-apt (0.7.3) unstable; urgency=low * doc/examples/records.py: - added example how to use the new Records class * python/cache.py: - - throw FetchCanceltException, FetchFailedException, + - throw FetchCancelleException, FetchFailedException, LockFailedException exceptions when something goes wrong -- |
