From b9b064ea89b5948a11b2ab91188eaafb6610d114 Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Fri, 29 Aug 2008 10:19:01 +0200 Subject: Remove not used imports in debfile --- apt/debfile.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apt/debfile.py') 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() -- cgit v1.2.3