From cf0373b42e558ee17b47bb985e7d5a2b0f17939a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 7 Mar 2012 09:22:34 +0000 Subject: attachmentid should be stable across mime-type changes --- bin/get-bugzilla-attachments-by-mimetype | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/get-bugzilla-attachments-by-mimetype') 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: -- cgit