X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=melanie;h=29a07d64fe805613741d022a71b344bc0e1ea863;hb=b2610b1218a510618590e7adfdbbac01eeae5c29;hp=81fc9453fa24d38e871911e9e365fe07cd9250e2;hpb=3a77466454ce93fd7681968531bd91003250ab2a;p=dak.git diff --git a/melanie b/melanie index 81fc9453..29a07d64 100755 --- a/melanie +++ b/melanie @@ -2,7 +2,7 @@ # General purpose package removal tool for ftpmaster # Copyright (C) 2000, 2001, 2002, 2003 James Troup -# $Id: melanie,v 1.37 2003-03-14 19:04:36 troup Exp $ +# $Id: melanie,v 1.38 2003-03-26 15:16:36 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 @@ -151,7 +151,7 @@ def main (): # 3) contains a '@' - assumed to be an email address, used unmofidied # carbon_copy = []; - for copy_to in split_args(Options.get("Carbon-Copy")): + for copy_to in utils.split_args(Options.get("Carbon-Copy")): if utils.str_isnum(copy_to): carbon_copy.append(copy_to + "@" + Cnf["Dinstall::BugServer"]); elif copy_to == 'package': @@ -175,7 +175,7 @@ def main (): # Additional suite checks suite_ids_list = []; - suites = split_args(Options["Suite"]); + suites = utils.split_args(Options["Suite"]); suites_list = utils.join_with_commas_and(suites); if not Options["No-Action"]: for suite in suites: @@ -377,7 +377,7 @@ def main (): Subst["__BCC__"] = "Bcc: " + ", ".join(bcc); else: Subst["__BCC__"] = "X-Filler: 42"; - Subst["__CC__"] = "X-Katie: melanie $Revision: 1.37 $"; + Subst["__CC__"] = "X-Katie: melanie $Revision: 1.38 $"; if carbon_copy: Subst["__CC__"] += "\nCc: " + ", ".join(carbon_copy); Subst["__SUITE_LIST__"] = suites_list; @@ -389,7 +389,7 @@ def main (): Archive = Cnf.SubTree("Archive::%s" % (whereami)); Subst["__MASTER_ARCHIVE__"] = Archive["OriginServer"]; Subst["__PRIMARY_MIRROR__"] = Archive["PrimaryMirror"]; - for bug in split_args(Options["Done"]): + for bug in utils.split_args(Options["Done"]): Subst["__BUG_NUMBER__"] = bug; mail_message = utils.TemplateSubst(Subst,Cnf["Dir::Templates"]+"/melanie.bug-close"); utils.send_mail(mail_message);