diff options
| -rw-r--r-- | apt/progress/old.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
