summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-07 09:22:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-07 11:06:46 +0000
commitcf0373b42e558ee17b47bb985e7d5a2b0f17939a (patch)
tree2e6103c82e373dd543b0a243917db4e8086c0b28 /bin
parentac7a11255afc531ce2ca4958277c27d6d29e7c3c (diff)
attachmentid should be stable across mime-type changes
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 441049802b1b..3e9381f98cb2 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -80,8 +80,8 @@ def get_from_bug_url_via_xml(url, mimetype, prefix, suffix):
f = open(download, 'w')
f.write(base64.b64decode(node.firstChild.nodeValue))
f.close()
- attachmentid += 1
break
+ attachmentid += 1
def get_through_rpc_query(rpcurl, showurl, mimetype, prefix, suffix):
try: