diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-03-03 17:49:21 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-03-03 17:49:21 +0100 |
| commit | a12eee3a184c1df72cedf1c50ada4e95cc56ecd6 (patch) | |
| tree | 5c52ad5ca97924c13ad62930d6c8bab94bda207f | |
| parent | 9804a3449cb182d591129c79d7a83d2e0c524c4e (diff) | |
| download | python-apt-a12eee3a184c1df72cedf1c50ada4e95cc56ecd6.tar.gz | |
apt/progress/old.py: Call parent constructors.
| -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) |
