Ah, got it. It happens if data is empty. Reproducible on staging with
>>> b=lp.bugs[89040] >>> b.addAttachment(comment='', data='', description='ThreadStacktrace.txt (retraced)', filename='ThreadStacktrace.txt', is_patch=False)
I'll work around this in apport.
Ah, got it. It happens if data is empty. Reproducible on staging with
>>> b=lp.bugs[89040] (comment= '', data='', description= 'ThreadStacktra ce.txt (retraced)', filename= 'ThreadStacktra ce.txt' , is_patch=False)
>>> b.addAttachment
I'll work around this in apport.