summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-27 09:42:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-27 12:27:23 +0100
commit96215af8ad5a409680f5d243886b95ed9478850a (patch)
tree850ad07fb958eeda5271fff3e2b62265ea08dd88 /bin
parentbdda15e82ea09abdc9ed008edee677a03530cbf3 (diff)
redhat bugzilla changed a bit
Change-Id: I95f0a96ac52ae929e20096d135207f8a0c040ca5
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-bugzilla-attachments-by-mimetype2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype
index c98edd72b8ee..0ddec68e5eab 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -141,7 +141,7 @@ def get_through_rpc_query(rpcurl, showurl, mimetype, prefix, suffix):
bugs = result['bugs']
print len(bugs), 'bugs to process'
for bug in bugs:
- url = showurl + str(bug['bug_id'])
+ url = showurl + str(bug['id'])
get_from_bug_url_via_xml(url, mimetype, prefix, suffix)
except xmlrpclib.Fault, err:
print "A fault occurred"