diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/progress.cc | 9 |
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) |
