This breaks a dependency cycle (as utils.py imports dbconn.py again) and allows
the tests to pass again.
from config import Config
from textutils import fix_maintainer
from dak_exceptions import DBUpdateError, NoSourceFieldError, FileExistsError
-import utils
# suppress some deprecation warnings in squeeze related to sqlalchemy
import warnings
@rtype: text
@return: stanza text of the control section.
'''
- import apt_inst
+ import utils
fullpath = self.poolfile.fullpath
deb_file = open(fullpath, 'r')
stanza = utils.deb_extract_control(deb_file)