summaryrefslogtreecommitdiff
path: root/apt/progress/__init__.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-07-17 16:14:56 +0200
committerJulian Andres Klode <jak@debian.org>2009-07-17 16:14:56 +0200
commit837e2fd927906c229801e41a5effbf95f9c6a106 (patch)
treeb13988662ab193253502c534c26533ed8efd0fba /apt/progress/__init__.py
parentb34e27d4ebaf325df6d82fde17b28cf9a008dbfc (diff)
downloadpython-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__.py13
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)