From 8bc670dcf4cb423f3aada72532d421de112220df Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Thu, 16 Apr 2009 23:05:30 +0200 Subject: [PATCH] disallow deletion of notes for trainees 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 1354d9e2..52e1f4e9 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -703,7 +703,7 @@ def do_new(): edit_note(database.get_new_comments(changes.get("source", ""))) elif answer == 'P' and not Options["Trainee"]: prod_maintainer(database.get_new_comments(changes.get("source", ""))) - elif answer == 'R': + elif answer == 'R' and not Options["Trainee"]: confirm = utils.our_raw_input("Really clear note (y/N)? ").lower() if confirm == "y": database.delete_new_comments(changes.get("source"), changes.get("version")) -- 2.39.5