diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-03-03 19:30:26 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-03-03 19:30:26 +0100 |
| commit | 3b44b1fc02961f3e760709d9f72e72b0259e9a92 (patch) | |
| tree | 30701440c7c34c5588ee3cf5e8f2c8403e51ca78 /apt | |
| parent | a12eee3a184c1df72cedf1c50ada4e95cc56ecd6 (diff) | |
| download | python-apt-3b44b1fc02961f3e760709d9f72e72b0259e9a92.tar.gz | |
apt/progress/old.py: Add missing return statements.
Diffstat (limited to 'apt')
| -rw-r--r-- | apt/progress/old.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/apt/progress/old.py b/apt/progress/old.py index e1c0461a..4bd79f2e 100644 --- a/apt/progress/old.py +++ b/apt/progress/old.py @@ -204,22 +204,22 @@ class DumbInstallProgress(base.InstallProgress): self.write_stream = os.fdopen(self.writefd, "w") if hasattr(self, "statusfd") and not hasattr(self, "status_stream"): self.status_stream = os.fdopen(self.statusfd, "r") - base.InstallProgress.update_interface(self) + return base.InstallProgress.update_interface(self) def update_interface(self): - self.updateInterface() + return self.updateInterface() def startUpdate(self): - base.InstallProgress.start_update(self) + return base.InstallProgress.start_update(self) def start_update(self): - self.startUpdate() + return self.startUpdate() def finishUpdate(self): - base.InstallProgress.finish_update(self) + return base.InstallProgress.finish_update(self) def finish_update(self): - self.finishUpdate() + return self.finishUpdate() class InstallProgress(DumbInstallProgress, base.InstallProgress): @@ -232,16 +232,16 @@ class InstallProgress(DumbInstallProgress, base.InstallProgress): selectTimeout = AttributeDeprecatedBy('select_timeout') def statusChange(self, pkg, percent, status): - base.InstallProgress.status_change(self, pkg, percent, status) + return base.InstallProgress.status_change(self, pkg, percent, status) def status_change(self, pkg, percent, status): - self.statusChange(pkg, percent, status) + return self.statusChange(pkg, percent, status) def waitChild(self): - base.InstallProgress.wait_child(self) + return base.InstallProgress.wait_child(self) def wait_child(self): - self.waitChild() + return self.waitChild() class DpkgInstallProgress(InstallProgress): |
