未验证 提交 c1339922 编写于 作者: A Ansgar

Merge remote-tracking branch 'origin/merge-requests/264'

......@@ -101,7 +101,7 @@ class BugClassifier:
for tags in tagged_bugs.keys():
tagged_bugs_ftp += tagged_bugs[tags]
return [bug for bug in bts.get_status(bts.get_bugs("package", "ftp.debian.org"))
return [bug for bug in bts.get_status(bts.get_bugs(package="ftp.debian.org"))
if bug.pending == 'pending' and bug.bug_num not in tagged_bugs_ftp]
def classify_bug(self, bug):
......
......@@ -556,7 +556,7 @@ def remove(session, reason, suites, removals,
Subst_close_other["__BUG_NUMBER_ALSO__"] = ""
Subst_close_other["__SOURCE__"] = source_pkg
merged_bugs = set()
other_bugs = bts.get_bugs('src', source_pkg, 'status', 'open', 'status', 'forwarded')
other_bugs = bts.get_bugs(src=source_pkg, status=('open', 'forwarded'))
if other_bugs:
for bugno in other_bugs:
if bugno not in merged_bugs:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册