From 1cbe83ac12a34c4969b8725c54423db3d8170577 Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Fri, 30 Oct 2009 15:13:59 +0100 Subject: [PATCH] towpdown import_known_changes Signed-off-by: Mike O'Connor --- dak/import_known_changes.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dak/import_known_changes.py b/dak/import_known_changes.py index 3702411d..d286775a 100755 --- a/dak/import_known_changes.py +++ b/dak/import_known_changes.py @@ -195,7 +195,7 @@ class ChangesGenerator(threading.Thread): if os.path.exists(checkdir): print "Looking into %s" % (checkdir) - for dirpath, dirnames, filenames in os.walk(checkdir, topdown=False): + for dirpath, dirnames, filenames in os.walk(checkdir, topdown=True): if not filenames: # Empty directory (or only subdirectories), next continue @@ -255,13 +255,12 @@ class ImportThread(threading.Thread): except ChangesUnicodeError: warn("found invalid changes file, not properly utf-8 encoded") - except KeyboardInterrupt: print("Caught C-c; on ImportThread. terminating.") self.parent.plsDie() sys.exit(1) + except: - traceback.print_exc() self.parent.plsDie() sys.exit(1) -- 2.39.5