From 4fd546b363b5ebe14de5a20ef580cd3308a61054 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Wed, 11 May 2011 21:31:18 +0000 Subject: [PATCH] Add missing import statements --- dak/generate_packages_sources2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dak/generate_packages_sources2.py b/dak/generate_packages_sources2.py index 5487c4d1..f3c843b5 100755 --- a/dak/generate_packages_sources2.py +++ b/dak/generate_packages_sources2.py @@ -93,6 +93,7 @@ def generate_sources(suite_id, component_id): global _sources_query from daklib.filewriter import SourcesFileWriter from daklib.dbconn import Component, DBConn, OverrideType, Suite + from daklib.dakmultiprocessing import PROC_STATUS_SUCCESS session = DBConn().session() dsc_type = session.query(OverrideType).filter_by(overridetype='dsc').one().overridetype_id @@ -200,6 +201,7 @@ def generate_packages(suite_id, component_id, architecture_id, type_name): global _packages_query from daklib.filewriter import PackagesFileWriter from daklib.dbconn import Architecture, Component, DBConn, OverrideType, Suite + from daklib.dakmultiprocessing import PROC_STATUS_SUCCESS session = DBConn().session() arch_all_id = session.query(Architecture).filter_by(arch_string='all').one().arch_id -- 2.39.5