From: Mark Hymers Date: Tue, 16 Jun 2009 22:29:16 +0000 (+0000) Subject: add stupid hack to work around apt-pkg's config handling X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d1460ab39358dd20532eb6f1f17a7d965ef9cc6;p=dak add stupid hack to work around apt-pkg's config handling Signed-off-by: Mark Hymers --- 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