Please note that Report objects (from the  ProblemReport super class)
already have that built in. To attach a file and force compression, do

  report['FooFile'] = ('/tmp/foo.log', True).

Please see

  python -c 'import problem_report; help(problem_report.ProblemReport)'

the "write" method.

-- 
ubuntu-bug eucalyptus-common attaches massive files
https://bugs.launchpad.net/bugs/541486
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to