X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_new.py;h=b8550fd10714bc6c1cba83fc19209a44d423e345;hb=f634a4b19d5ec88a368914a6068d4d78cde886a2;hp=17cf4e8f0bd1ac810fbb392abe7a6fff5f223b71;hpb=c0e234e1ab2d026ad96ef522ea66e41d47d6faa3;p=dak.git diff --git a/dak/process_new.py b/dak/process_new.py index 17cf4e8f..b8550fd1 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -493,9 +493,8 @@ def prod_maintainer (note, upload): prod_mail_message = utils.TemplateSubst( Subst,cnf["Dir::Templates"]+"/process-new.prod") - # Send the prod mail if appropriate - if not cnf["Dinstall::Options::No-Mail"]: - utils.send_mail(prod_mail_message) + # Send the prod mail + utils.send_mail(prod_mail_message) print "Sent proding message" @@ -770,21 +769,7 @@ def do_pkg(changes_file, session): except CantGetLockError: print "Hello? Operator! Give me the number for 911!" print "Dinstall in the locked area, cant process packages, come back later" -# (new, byhand) = check_status(files) -# if new or byhand: -# if new: -# do_new(u, session) -# if byhand: -# do_byhand(u, session) -# (new, byhand) = check_status(files) - -# if not new and not byhand: -# try: -# check_daily_lock() -# do_accept(u) -# except CantGetLockError: -# print "Hello? Operator! Give me the number for 911!" -# print "Dinstall in the locked area, cant process packages, come back later" + except AlreadyLockedError, e: print "Seems to be locked by %s already, skipping..." % (e) @@ -846,9 +831,6 @@ def main(): sys.stderr.write("Sorting changes...\n") changes_files = sort_changes(changes_files, session) - # Kill me now? **FIXME** - cnf["Dinstall::Options::No-Mail"] = "" - for changes_file in changes_files: changes_file = utils.validate_changes_file_arg(changes_file, 0) if not changes_file: