From 7d1460ab39358dd20532eb6f1f17a7d965ef9cc6 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Tue, 16 Jun 2009 22:29:16 +0000 Subject: [PATCH] add stupid hack to work around apt-pkg's config handling Signed-off-by: Mark Hymers --- dak/process_new.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dak/process_new.py b/dak/process_new.py index 6cbbccff..a7da65c3 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -497,7 +497,7 @@ def edit_note(note): end() sys.exit(0) - database.add_new_comment(Upload.pkg.changes["source"], Upload.pkg.changes["version"], newnote, utils.whoami(), Options["Trainee"]) + database.add_new_comment(Upload.pkg.changes["source"], Upload.pkg.changes["version"], newnote, utils.whoami(), bool(Options["Trainee"])) ################################################################################ @@ -767,7 +767,7 @@ def init(): try: Logger = Upload.Logger = logging.Logger(Cnf, "process-new") except CantOpenError, e: - Options["Trainee"] = True + Options["Trainee"] = "True" projectB = Upload.projectB -- 2.39.5