Comment 30 for bug 43893

Revision history for this message
Colin Watson (cjwatson) wrote :

As for setting bug_reporting_guidelines, it is exposed in the API, but currently broken: see bug 309056.

Although I've been unable to test it, it looks like working code should be something like this (given launchpad as an appropriately-credentialled launchpadlib client instance; code for that is elsewhere, e.g. https://help.launchpad.net/API/launchpadlib):

  src = launchpad.distributions['ubuntu'].getSourcePackage(name='whatever')
  src.bug_reporting_guidelines = 'foo\n'
  src.lp_save()