X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dak%2Frm.py;h=97af8c2c6779593bc7ff3dc6f3904b71d3a1f50b;hb=f01b13ab05dcfc8ccebb8eaba3362f70b3018809;hp=2f9091ee178bcaed966029958890abf713cf1f2f;hpb=1f6a57da8373f873c7b86c6ae3fb1e74c8a53f09;p=dak.git diff --git a/dak/rm.py b/dak/rm.py index 2f9091ee..97af8c2c 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -167,8 +167,6 @@ def main (): if (Options["Do-Close"] and (Options["Binary"] or Options["Binary-Only"] or Options["Source-Only"])): utils.fubar("No.") - if Options["Do-Close"] and Options["Suite"] != 'unstable': - utils.fubar("No.") # Force the admin to tell someone if we're not doing a 'dak # cruft-report' inspired removal (or closing a bug, which counts @@ -465,14 +463,6 @@ def main (): summarymail += "----------------------------------------------\n" Subst_close_rm["__SUMMARY__"] = summarymail - whereami = utils.where_am_i() - Archive = get_archive(whereami, session) - if Archive is None: - utils.warn("Cannot find archive %s. Setting blank values for origin" % whereami) - Subst_close_rm["__PRIMARY_MIRROR__"] = "" - else: - Subst_close_rm["__PRIMARY_MIRROR__"] = Archive.primary_mirror - for bug in utils.split_args(Options["Done"]): Subst_close_rm["__BUG_NUMBER__"] = bug if Options["Do-Close"]: