From: Ansgar Burchardt Date: Sun, 20 Oct 2013 12:43:50 +0000 (+0200) Subject: daklib/dbconn.py: do not import apt_pkg again X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=2b8ba2f36f49583328b699763ecc2e9702deab72;p=dak.git daklib/dbconn.py: do not import apt_pkg again --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 7d5a7481..7a1fcb22 100644 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -572,7 +572,6 @@ class DBBinary(ORMObject): @rtype: dict @return: fields of the control section as a dictionary. ''' - import apt_pkg stanza = self.read_control() return apt_pkg.TagSection(stanza)