From cd47e3e7e0a87ead87724d0120d408b7993e94c7 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 16 Mar 2014 20:43:44 +0100 Subject: python/progress.cc: Remove invalid checks for mixedCase methods They are not working, because they set an exception if the mixedCase name is missing. --- python/progress.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'python/progress.cc') 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) -- cgit v1.2.3