From: James Troup Date: Sun, 24 Feb 2002 20:47:22 +0000 (+0000) Subject: fix hideous non-reseting of reject_message in process_it() which was causing any... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57e6044da47749735b5e0fbecd6b230c87ac6ac2;p=dak fix hideous non-reseting of reject_message in process_it() which was causing any unaccepts to propogate through to all subsequent packages. --- diff --git a/katie b/katie index 0f35f4fe..124c1b6f 100755 --- a/katie +++ b/katie @@ -2,7 +2,7 @@ # Installs Debian packages # Copyright (C) 2000, 2001 James Troup -# $Id: katie,v 1.72 2002-02-22 22:49:08 troup Exp $ +# $Id: katie,v 1.73 2002-02-24 20:47:22 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 @@ -39,7 +39,7 @@ import db_access, katie, logging, utils; ############################################################################### # Globals -katie_version = "$Revision: 1.72 $"; +katie_version = "$Revision: 1.73 $"; Cnf = None; Options = None; @@ -382,6 +382,10 @@ def install (): ################################################################################ def process_it (changes_file): + global reject_message; + + reject_message = ""; + # Absolutize the filename to avoid the requirement of being in the # same directory as the .changes file. pkg.changes_file = os.path.abspath(changes_file);