Remove last bit of raw xmlrpc.

This commit is contained in:
Jason Tibbitts 2012-08-16 14:47:39 -05:00
parent 6c4cbc54c2
commit 6a559695ea

View file

@ -187,13 +187,10 @@ def run_query(bz):
alldeps.update(bug.depends_on)
# Get the status of each dependency
# Drop back to raw xmlrpc here because python-bugzilla doesn't support
# getbugssimple for the new bugzilla.
for i in seq_max_split(alldeps, 500):
for bug in filter(None, bz._proxy.Bug.get_bugs({'ids':i, 'permissive': 1})['bugs']):
if bug['status'] == 'CLOSED':
closeddeps.add(bug['id'])
for bug in bz.getbugssimple(i):
if bug.status == 'CLOSED':
closeddeps.add(bug.id)
# Some special processing for those unflagged tickets
def opendep(id): return id not in closeddeps