From: James Troup Date: Fri, 22 Feb 2002 01:03:20 +0000 (+0000) Subject: avoid double prefixes when using katie.py check functions X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e9b8f62a83fe45787ee884ac97d888536b0d30a;p=dak avoid double prefixes when using katie.py check functions --- diff --git a/jennifer b/jennifer index d16ee765..8e55ece0 100755 --- a/jennifer +++ b/jennifer @@ -2,7 +2,7 @@ # Checks Debian packages from Incoming # Copyright (C) 2000, 2001 James Troup -# $Id: jennifer,v 1.3 2002-02-15 04:01:14 troup Exp $ +# $Id: jennifer,v 1.4 2002-02-22 01:03:20 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 @@ -44,7 +44,7 @@ re_is_changes = re.compile (r"(.+?)_(.+?)_(.+?)\.changes$"); ################################################################################ # Globals -jennifer_version = "$Revision: 1.3 $"; +jennifer_version = "$Revision: 1.4 $"; Cnf = None; Options = None; @@ -676,7 +676,7 @@ def check_files(): files[file]["new"] = 1; if files[file]["type"] == "deb": - reject(Katie.check_binaries_against_db(file, suite)); + reject(Katie.check_binaries_against_db(file, suite),""); # Validate the component component = files[file]["component"]; @@ -753,10 +753,10 @@ def check_dsc (): reject("version ('%s') in .dsc does not match version ('%s') in .changes." % (epochless_dsc_version, changes_version)); # Ensure source is newer than existing source in target suites - reject(Katie.check_source_against_db(file)); + reject(Katie.check_source_against_db(file),""); (reject_msg, is_in_incoming) = Katie.check_dsc_against_db(file); - reject(reject_msg); + reject(reject_msg, ""); if is_in_incoming: if not Options["No-Action"]: copy_to_holding(is_in_incoming);