From 5a05be08148871001206ae60b01ed88514189817 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 28 Jun 2007 16:01:29 +0200 Subject: * fix typo "cancelt" -> "Cancelled" --- apt/cache.py | 4 ++-- 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 -- -- cgit v1.2.3