On 11/13/2013 10:09 AM, Khokhar cth wrote:
Hi Cole,
Thanks for the hint.
Now I am on next stage.File has been uploaded successfully but it got corrupted.
I got this problem while uploading file by using attachfile function of
python-bugzilla (inside base.py).
I am using python-bugzilla-0.8.0.
Here is my code:
downloaded_file = "abc.zip"
att_file_desc = "Attached file description"
kwards = {
'contenttype':'application/octet-stream',
'filename': downloaded_file
}
# attachfile method will return the id of attached file
bz.attachfile( bug_id, downloaded_file, att_file_desc, **kwards)
Could you please guide me where I am doing mistake ?
Thanks in advance,
//Mahboob
At the very least, please try with the latest python-bugzilla release, but
trying to reproduce with python-bugzilla git first is preferred.
- Cole