diff options
| -rw-r--r-- | apt/debfile.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apt/debfile.py b/apt/debfile.py index 4fcd6ec0..a0a8e016 100644 --- a/apt/debfile.py +++ b/apt/debfile.py @@ -23,12 +23,9 @@ import warnings warnings.filterwarnings("ignore", "apt API not stable yet", FutureWarning) import apt_inst, apt_pkg -import apt import sys import os from gettext import gettext as _ -from cache import Cache -from progress import DpkgInstallProgress # Constants for comparing the local package file with the version in the cache (VERSION_NONE, @@ -507,6 +504,8 @@ class DscSrcPackage(DebPackage): return self._satisfyDepends(self.depends) if __name__ == "__main__": + from cache import Cache + from progress import DpkgInstallProgress cache = Cache() |
