~james-w/python-launchpad-bugs/urlerror-reason

« back to all changes in this revision

Viewing changes to launchpadbugs/storeblob.py

  • Committer: Markus Korn
  • Date: 2008-12-18 15:12:07 UTC
  • Revision ID: thekorn@gmx.de-20081218151207-daqd95hy5muy9e02
* launchpadbugs/storeblob.py: changed parameter in upload() function,
  py-lp-bugs should now work with the recent version of launchpad
  (LP: #309307)

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
 
72
72
    opener = urllib2.build_opener(HTTPSProgressHandler, multipartpost_handler.MultipartPostHandler)
73
73
    result = opener.open('https://launchpad.net/+storeblob', 
74
 
        { 'FORM_SUBMIT': '1', 'field.blob': blob })
 
74
        { 'field.actions.continue': '1', 'field.blob': blob })
75
75
    ticket = result.info().get('X-Launchpad-Blob-Token')
76
76
 
77
77
    return ticket