~ubuntu-branches/ubuntu/feisty/bughelper/feisty-proposed

« back to all changes in this revision

Viewing changes to launchpadBugs/HTMLOperations.py

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-23 11:50:48 UTC
  • Revision ID: james.westby@ubuntu.com-20070423115048-a4y3vdgm5rsdk5qu
Tags: 0.1.13.1
launchpadBugs/HTMLOperations.py, Bug.add_comment(): The submit variable
in the 'add bug comment' form changed in the recent Launchpad code
rollout. Update the variable name to unbreak the function and repair
apport retracing. (LP: #109213)

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
        assert (subject is not None) and (text is not None)
211
211
        assert self.cookie_handler, 'you must supply a cookie file with a Launchpad login cookie in the constructor'
212
212
        opener = urllib2.build_opener(self.cookie_handler, MultipartPostHandler.MultipartPostHandler)
213
 
        args = { 'FORM_SUBMIT': '1', 'field.comment': text, 
 
213
        args = { 'field.actions.save': '1', 'field.comment': text, 
214
214
            'field.subject': subject }
215
215
        if attachment:
216
216
            assert description