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
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to