diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-07-17 16:14:56 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-07-17 16:14:56 +0200 |
| commit | 837e2fd927906c229801e41a5effbf95f9c6a106 (patch) | |
| tree | b13988662ab193253502c534c26533ed8efd0fba /apt/progress/__init__.py | |
| parent | b34e27d4ebaf325df6d82fde17b28cf9a008dbfc (diff) | |
| download | python-apt-837e2fd927906c229801e41a5effbf95f9c6a106.tar.gz | |
apt/progress: Fix apt.progress with COMPAT_0_7
Diffstat (limited to 'apt/progress/__init__.py')
| -rw-r--r-- | apt/progress/__init__.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/apt/progress/__init__.py b/apt/progress/__init__.py index 67880903..c75c368b 100644 --- a/apt/progress/__init__.py +++ b/apt/progress/__init__.py @@ -17,13 +17,8 @@ """Progress reporting.""" import apt_pkg -#from apt.progress.text import AcquireProgress as TextAcquireProgress -#from apt.progress.text import OpProgress as TextOpProgress - -__all__ = [] #'TextAcquireProgress', 'TextOpProgress'] - if apt_pkg._COMPAT_0_7: - import apt.progress.old - from apt.progress.old import * - - __all__ += apt.progress.old.__all__ + from apt.progress.old import (CdromProgress, DpkgInstallProgress, + DumbInstallProgress, FetchProgress, + InstallProgress, OpProgress, + OpTextProgress, TextFetchProgress) |
