From: Mark Hymers Date: Fri, 1 Apr 2011 14:54:14 +0000 (+0000) Subject: Linearise show_new for now X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b29fd4bd82a1badd5087b66ae06a47513a83890f;p=dak Linearise show_new for now Signed-off-by: Mark Hymers --- diff --git a/dak/show_new.py b/dak/show_new.py index e6d15b65..ef4db314 100755 --- a/dak/show_new.py +++ b/dak/show_new.py @@ -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))