X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fimport_known_changes.py;h=d286775abcb977770b9f15ca99815d2f94017ff4;hb=34c082916bb247ab93b6932fea95cf324c427b7e;hp=3702411d3cbe9908ad034c8fbae3493177241099;hpb=f9264640fc54af9950119c956973fe5573ada5ab;p=dak.git 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)