]> git.donarmstrong.com Git - dak.git/blobdiff - dak/generate_filelist.py
Tidy up logging
[dak.git] / dak / generate_filelist.py
index 985a23fb1c8e932bea7b47eec89bb7a7ccc95628..2a566e06ed405e9e37a36a999e4d129fe3d980ee 100755 (executable)
@@ -179,24 +179,24 @@ def main():
                 if architecture not in suite.architectures:
                     pass
                 elif architecture.arch_string == 'source':
-                    log([writeSourceList(suite_id, component_id, Options['Incremental'])])
+                    Logger.log([writeSourceList(suite_id, component_id, Options['Incremental'])])
                     #pool.apply_async(writeSourceList,
                     #    (suite_id, component_id, Options['Incremental']), callback=log)
                 elif architecture.arch_string == 'all':
-                    log([writeAllList(suite_id, component_id, architecture_id, 'deb', Options['Incremental'])])
+                    Logger.log([writeAllList(suite_id, component_id, architecture_id, 'deb', Options['Incremental'])])
                     #pool.apply_async(writeAllList,
                     #    (suite_id, component_id, architecture_id, 'deb',
                     #        Options['Incremental']), callback=log)
-                    log([writeAllList(suite_id, component_id, architecture_id, 'udeb', Options['Incremental'])])
+                    Logger.log([writeAllList(suite_id, component_id, architecture_id, 'udeb', Options['Incremental'])])
                     #pool.apply_async(writeAllList,
                     #    (suite_id, component_id, architecture_id, 'udeb',
                     #        Options['Incremental']), callback=log)
                 else: # arch any
-                    log([writeBinaryList(suite_id, component_id, architecture_id, 'deb', Options['Incremental'])])
+                    Logger.log([writeBinaryList(suite_id, component_id, architecture_id, 'deb', Options['Incremental'])])
                     #pool.apply_async(writeBinaryList,
                     #    (suite_id, component_id, architecture_id, 'deb',
                     #        Options['Incremental']), callback=log)
-                    log([writeBinaryList(suite_id, component_id, architecture_id, 'udeb', Options['Incremental'])])
+                    Logger.log([writeBinaryList(suite_id, component_id, architecture_id, 'udeb', Options['Incremental'])])
                     #pool.apply_async(writeBinaryList,
                     #    (suite_id, component_id, architecture_id, 'udeb',
                     #        Options['Incremental']), callback=log)