summaryrefslogtreecommitdiff
path: root/python/progress.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2014-03-16 20:43:44 +0100
committerJulian Andres Klode <jak@debian.org>2014-03-16 20:43:44 +0100
commitcd47e3e7e0a87ead87724d0120d408b7993e94c7 (patch)
treed24947c8814483bc09ff103902437a1899ae56d0 /python/progress.cc
parent47dfb3fac23721f76fc3084835f2c3c6382777ce (diff)
downloadpython-apt-cd47e3e7e0a87ead87724d0120d408b7993e94c7.tar.gz
python/progress.cc: Remove invalid checks for mixedCase methods
They are not working, because they set an exception if the mixedCase name is missing.
Diffstat (limited to 'python/progress.cc')
-rw-r--r--python/progress.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/python/progress.cc b/python/progress.cc
index 9b813d74..425ca501 100644
--- a/python/progress.cc
+++ b/python/progress.cc
@@ -308,24 +308,21 @@ bool PyFetchProgress::Pulse(pkgAcquire * Owner)
void PyInstallProgress::StartUpdate()
{
- if (!RunSimpleCallback("startUpdate"))
- RunSimpleCallback("start_update");
+ RunSimpleCallback("start_update");
PyCbObj_BEGIN_ALLOW_THREADS
}
void PyInstallProgress::UpdateInterface()
{
PyCbObj_END_ALLOW_THREADS
- if (!RunSimpleCallback("updateInterface"))
- RunSimpleCallback("update_interface");
+ RunSimpleCallback("update_interface");
PyCbObj_BEGIN_ALLOW_THREADS
}
void PyInstallProgress::FinishUpdate()
{
PyCbObj_END_ALLOW_THREADS
- if (!RunSimpleCallback("finishUpdate"))
- RunSimpleCallback("finish_update");
+ RunSimpleCallback("finish_update");
}
pkgPackageManager::OrderResult PyInstallProgress::Run(pkgPackageManager *pm)