提交 a2864824 编写于 作者: J Joerg Jaspert

Merge commit 'stew/knownchanges' into merge

* commit 'stew/knownchanges':
  towpdown import_known_changes
Signed-off-by: NJoerg Jaspert <joerg@debian.org>
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册