提交 6b55f904 编写于 作者: J James Troup

handle changes to do_reject

上级 4d75f18b
......@@ -2,7 +2,7 @@
# Handles NEW and BYHAND packages
# Copyright (C) 2001 James Troup <james@nocrew.org>
# $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':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册