From e5237896629a9fc7ba123b6248eff19d6440cf19 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 17 Feb 2010 19:12:19 +0100 Subject: apt/progress/old.py: move compat updateInterface here --- apt/progress/base.py | 4 ---- apt/progress/old.py | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'apt') 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) -- cgit v1.2.3