From: Joerg Jaspert Date: Wed, 15 Apr 2009 17:48:58 +0000 (+0200) Subject: pn X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f7b6c67d2c9dedbf7b2dabbc83afd2e8730cca83;p=dak.git pn do not try to close the log in trainee mode Signed-off-by: Joerg Jaspert --- diff --git a/dak/process_new.py b/dak/process_new.py index 7b02a8d9..8f3ad0cf 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -983,7 +983,7 @@ def end(): sys.stderr.write("Accepted %d package %s, %s.\n" % (accept_count, sets, utils.size_type(int(accept_bytes)))) Logger.log(["total",accept_count,accept_bytes]) - if not Options["No-Action"]: + if not Options["No-Action"] and not Options["Trainee"]:: Logger.close() ################################################################################