From f7b6c67d2c9dedbf7b2dabbc83afd2e8730cca83 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Wed, 15 Apr 2009 19:48:58 +0200 Subject: [PATCH] pn do not try to close the log in trainee mode Signed-off-by: Joerg Jaspert --- dak/process_new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ################################################################################ -- 2.39.5