From a12eee3a184c1df72cedf1c50ada4e95cc56ecd6 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 3 Mar 2010 17:49:21 +0100 Subject: apt/progress/old.py: Call parent constructors. --- apt/progress/old.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apt/progress/old.py b/apt/progress/old.py index 0d75b756..e1c0461a 100644 --- a/apt/progress/old.py +++ b/apt/progress/old.py @@ -41,6 +41,7 @@ class OpProgress(base.OpProgress): """Abstract class to implement reporting on cache opening.""" def __init__(self): + base.OpProgress.__init__(self) warnings.warn("apt.progress.OpProgress is deprecated.", DeprecationWarning, stacklevel=2) @@ -191,6 +192,7 @@ class DumbInstallProgress(base.InstallProgress): """Report the install progress.""" def __init__(self): + base.InstallProgress.__init__(self) warnings.warn("apt.progress.*InstallProgress are deprecated.", DeprecationWarning, stacklevel=2) -- cgit v1.2.3