[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Our log function expects a single list argument



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 dak/generate_filelist.py          |   10 +++++-----
 dak/generate_packages_sources2.py |    6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dak/generate_filelist.py b/dak/generate_filelist.py
index 928a62d..81ce4c1 100755
--- a/dak/generate_filelist.py
+++ b/dak/generate_filelist.py
@@ -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']))
+                    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, 'deb', Options['Incremental'])
+                    log([writeAllList, suite_id, component_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, 'udeb', Options['Incremental'])
+                    log([writeAllList, suite_id, component_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'])
+                    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'])
+                    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)
diff --git a/dak/generate_packages_sources2.py b/dak/generate_packages_sources2.py
index e9128ac..011bb3c 100755
--- a/dak/generate_packages_sources2.py
+++ b/dak/generate_packages_sources2.py
@@ -271,12 +271,12 @@ def main():
         if s.untouchable and not force:
             utils.fubar("Refusing to touch %s (untouchable and not forced)" % s.suite_name)
         for c in component_ids:
-            log(generate_sources(s.suite_id, c))
+            log([generate_sources(s.suite_id, c)])
             #pool.apply_async(generate_sources, [s.suite_id, c], callback=log)
             for a in s.architectures:
-                log(generate_sources(s.suite_id, c, a.arch_id, 'deb'))
+                log([generate_sources(s.suite_id, c, a.arch_id, 'deb')])
                 #pool.apply_async(generate_packages, [s.suite_id, c, a.arch_id, 'deb'], callback=log)
-                log(generate_sources(s.suite_id, c, a.arch_id, 'udeb'))
+                log([generate_sources(s.suite_id, c, a.arch_id, 'udeb')])
                 #pool.apply_async(generate_packages, [s.suite_id, c, a.arch_id, 'udeb'], callback=log)
 
     #pool.close()
-- 
1.7.2.5


Reply to: