X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=katie.py;h=66c849fcea0278b34749e07b0db1faca63de5746;hb=90f4b0a388ce522300027663c779057f8c09b705;hp=284f8b0dbd5f397fd3de060d4a27c3970101059f;hpb=fa7e261a93a404e11614551823680c38ef330c2a;p=dak.git diff --git a/katie.py b/katie.py index 284f8b0d..66c849fc 100644 --- a/katie.py +++ b/katie.py @@ -2,7 +2,7 @@ # Utility functions for katie # Copyright (C) 2001 James Troup -# $Id: katie.py,v 1.4 2002-02-15 04:01:14 troup Exp $ +# $Id: katie.py,v 1.6 2002-02-15 22:27:27 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 @@ -158,14 +158,15 @@ class Katie: ## changes # Mandatory changes fields for i in [ "distribution", "source", "architecture", "version", "maintainer", - "urgency", "fingerprint" ]: + "urgency", "fingerprint", "changedby822", "changedbyname", + "maintainername", "maintaineremail", "closes" ]: d_changes[i] = changes[i]; # Optional changes fields - for i in [ "changed-by", "changedby822", "maintainer822", "filecontents" ]: - if d_changes.has_key(i): + for i in [ "changed-by", "maintainer822", "filecontents", "format" ]: + if changes.has_key(i): d_changes[i] = changes[i]; ## dsc - for i in [ "source", "version", "maintainer", "fingerprint" ]: + for i in [ "source", "version", "maintainer", "fingerprint", "uploaders" ]: if dsc.has_key(i): d_dsc[i] = dsc[i]; ## dsc_files @@ -675,7 +676,7 @@ class Katie: in_unchecked = os.path.join(self.Cnf["Dir::QueueUncheckedDir"],dsc_file); # See process_it() in jennifer for explanation of this if os.path.exists(in_unchecked): - return (self.reject_message, orig_tar_gz); + return (self.reject_message, in_unchecked); else: for dir in [ "Accepted", "New", "Byhand" ]: in_otherdir = os.path.join(self.Cnf["Dir::Queue%sDir" % (dir)],dsc_file);