]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/dbconn.py: do not import apt_pkg again
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 20 Oct 2013 12:43:50 +0000 (14:43 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 20 Oct 2013 12:43:50 +0000 (14:43 +0200)
daklib/dbconn.py

index 7d5a7481723b360f3525d3727f8fbf96d4c3dfb7..7a1fcb225b21330cdea9e63173cabc399aac3cf7 100644 (file)
@@ -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)