From: Ansgar Burchardt Date: Sun, 12 Aug 2012 14:31:30 +0000 (+0200) Subject: dak/generate_packages_sources2.py: also import Archive from daklib.dbconn X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d2b9d391bbf933f743c8d89745439d53d7dd998d;p=dak.git dak/generate_packages_sources2.py: also import Archive from daklib.dbconn --- diff --git a/dak/generate_packages_sources2.py b/dak/generate_packages_sources2.py index 478aadf1..ff890377 100755 --- a/dak/generate_packages_sources2.py +++ b/dak/generate_packages_sources2.py @@ -331,7 +331,7 @@ def main(): logger = daklog.Logger('generate-packages-sources2') - from daklib.dbconn import Component, DBConn, get_suite, Suite + from daklib.dbconn import Component, DBConn, get_suite, Suite, Archive session = DBConn().session() session.execute("SELECT add_missing_description_md5()") session.commit()