summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorSebastian Heinlein <sebi@glatzor.de>2008-08-29 10:19:01 +0200
committerSebastian Heinlein <sebi@glatzor.de>2008-08-29 10:19:01 +0200
commitb9b064ea89b5948a11b2ab91188eaafb6610d114 (patch)
treea2297708480afc1e7577a80ce2d2690e5d6f4fff /apt
parentbfad41ee6621f13278b29dda8a2c12997c23e9d9 (diff)
downloadpython-apt-b9b064ea89b5948a11b2ab91188eaafb6610d114.tar.gz
Remove not used imports in debfile
Diffstat (limited to 'apt')
-rw-r--r--apt/debfile.py5
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()