summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-02-17 19:12:19 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-02-17 19:12:19 +0100
commite5237896629a9fc7ba123b6248eff19d6440cf19 (patch)
treea5b8947695c6a0f69211dd1eb9377d16d936147c /apt
parentdb9e68fd14345f742211fc293823bff6a2f7d8bd (diff)
downloadpython-apt-e5237896629a9fc7ba123b6248eff19d6440cf19.tar.gz
apt/progress/old.py: move compat updateInterface here
Diffstat (limited to 'apt')
-rw-r--r--apt/progress/base.py4
-rw-r--r--apt/progress/old.py1
2 files changed, 1 insertions, 4 deletions
diff --git a/apt/progress/base.py b/apt/progress/base.py
index ac6ea011..8075f790 100644
--- a/apt/progress/base.py
+++ b/apt/progress/base.py
@@ -284,10 +284,6 @@ class InstallProgress(object):
return res
- if apt_pkg._COMPAT_0_7:
- updateInterface = function_deprecated_by(update_interface)
- waitChild = function_deprecated_by(wait_child)
-
class OpProgress(object):
"""Monitor objects for operations.
diff --git a/apt/progress/old.py b/apt/progress/old.py
index c2d95b85..15ead890 100644
--- a/apt/progress/old.py
+++ b/apt/progress/old.py
@@ -191,6 +191,7 @@ class InstallProgress(DumbInstallProgress, base.InstallProgress):
selectTimeout = AttributeDeprecatedBy('select_timeout')
statusChange = function_deprecated_by(base.InstallProgress.status_change)
+ updateInterface = function_deprecated_by(base.InstallProgress.update_interface)
waitChild = function_deprecated_by(base.InstallProgress.wait_child)