From 6b55f9040b0b00280901be9f9faa8ff6b1f4729c Mon Sep 17 00:00:00 2001 From: James Troup Date: Sun, 21 Apr 2002 15:38:54 +0000 Subject: [PATCH] handle changes to do_reject --- lisa | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lisa b/lisa index 47289220..e17666e8 100755 --- a/lisa +++ b/lisa @@ -2,7 +2,7 @@ # Handles NEW and BYHAND packages # Copyright (C) 2001 James Troup -# $Id: lisa,v 1.7 2002-04-20 13:13:15 troup Exp $ +# $Id: lisa,v 1.8 2002-04-21 15:38:54 troup Exp $ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -58,7 +58,7 @@ import apt_pkg, apt_inst; import db_access, fernanda, katie, logging, utils; # Globals -lisa_version = "$Revision: 1.7 $"; +lisa_version = "$Revision: 1.8 $"; Cnf = None; Options = None; @@ -572,9 +572,10 @@ def do_new(): elif answer == 'E': new = edit_overrides (new); elif answer == 'M': - Katie.do_reject(1, Options["Manual-Reject"]); - os.unlink(Katie.pkg.changes_file[:-8]+".katie"); - done = 1; + aborted = Katie.do_reject(1, Options["Manual-Reject"]); + if not aborted: + os.unlink(Katie.pkg.changes_file[:-8]+".katie"); + done = 1; elif answer == 'S': done = 1; elif answer == 'Q': -- GitLab