]> git.decadent.org.uk Git - dak.git/commitdiff
Add missing import statements
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 11 May 2011 21:31:18 +0000 (21:31 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 11 May 2011 21:31:18 +0000 (21:31 +0000)
dak/generate_packages_sources2.py

index 5487c4d179ebe63f275de30b9f6ab527af40a084..f3c843b53e29fa0ffd8c95444ee8369c4a12ddea 100755 (executable)
@@ -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