-def find_bug_severities(bugnrs):
- """Take a list of bug numbers and
- return a dictionary with bug number - severity pairs."""
- statuses = None
- try: statuses = debianbts.get_status(bugnrs)
- except Exception:
- return None
- severities = {}
- for bug_status in statuses:
- severities[bug_status.bug_num] = bug_status.severity
- return severities
-
-def rcbug_close_check(closes):
- """Take a list of bug numbers and determine if at least one of them
- is release critical."""
- severity_list = find_bug_severities(closes)
- if severity_list:
- severities = severity_list.values()
- return ('critical' in severities) or \
- ('serious' in severities) or \
- ('grave' in severities)
- return False
-
-def table_row(source, version, arch, last_mod, maint, distribution, closes, fingerprint, sponsor, changedby, fixes_rcbug):
+def table_row(source, version, arch, last_mod, maint, distribution, closes, fingerprint, sponsor, changedby):