From: Mike O'Connor Date: Fri, 30 Oct 2009 13:47:07 +0000 (+0100) Subject: I LOVE ... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=808bfb20c3324db643a231ad4891ea1bac83e829;p=dak I LOVE WHITESPACE --- diff --git a/dak/import_known_changes.py b/dak/import_known_changes.py index 5aa9a580..3702411d 100755 --- a/dak/import_known_changes.py +++ b/dak/import_known_changes.py @@ -255,13 +255,11 @@ 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) - print("STUSTUSTUSTUSTU") - return except: traceback.print_exc() self.parent.plsDie() @@ -293,7 +291,7 @@ class ImportKnownChanges(object): self.threads=[] sys.exit(1) - + def main(): cnf = Config() @@ -332,7 +330,7 @@ def main(): ImportKnownChanges(num_threads) - + if __name__ == '__main__': main()