]> git.decadent.org.uk Git - dak.git/commitdiff
Linearise show_new for now
authorMark Hymers <mhy@debian.org>
Fri, 1 Apr 2011 14:54:14 +0000 (14:54 +0000)
committerMark Hymers <mhy@debian.org>
Fri, 1 Apr 2011 14:54:14 +0000 (14:54 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/show_new.py

index e6d15b65c5fceff55cbda56f58f07aedb91be7b4..ef4db31437bab060b3818d2eb61331fa67170e2b 100755 (executable)
@@ -250,15 +250,16 @@ def main():
 
     examine_package.use_html=1
 
-    pool = Pool(processes=1)
+    #pool = Pool(processes=1)
     for changes_file in changes_files:
         changes_file = utils.validate_changes_file_arg(changes_file, 0)
         if not changes_file:
             continue
         print "\n" + changes_file
-        pool.apply_async(do_pkg, (changes_file,))
-    pool.close()
-    pool.join()
+        #pool.apply_async(do_pkg, (changes_file,))
+        do_pkg(changes_file)
+    #pool.close()
+    #pool.join()
 
     files = set(os.listdir(cnf["Show-New::HTMLPath"]))
     to_delete = filter(lambda x: x.endswith(".html"), files.difference(sources))