Bug
Differences between revisions 1 and 2
|
⇤ ← Revision 1 as of 2007-07-24 14:14:29
Size: 643
Comment: started this tutorial
|
Size: 1014
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 9: | Line 9: |
| >>> bug = Bug(126927) | >>> bug = Bug(120593) |
| Line 15: | Line 15: |
| >>> bug = Bug("https://bugs.launchpad.net/buglog-data/+bug/126927") | >>> bug = Bug("https://bugs.launchpad.net/buglog-data/+bug/120593") |
| Line 27: | Line 27: |
| '' add a table of all attributes '' === Attachments === Get a list of attachments: {{{#!python start=5 >>> print bug.attachments [<Attachment (up: #8554243), (down: /home/markus/.bughelper/attachments-cache/buglog-data/120593/8554243/79140.patch)>, <Attachment (up: #8558770)>, <Attachment (up: #8554203)>, <Attachment (up: #8541039)>] }}} === Comments === |
Bug - tutorial
General workflow
That is the way to use python-launchpad-bugs to get information on a bugreport or to edit a bugreport:
It is also possible to get a bugreport by its url:
3 >>> bug = Bug("https://bugs.launchpad.net/buglog-data/+bug/120593")
If you want to change the bugreport or view private bugs you have to set Bug.authentication:
4 >>> Bug.authentication="cookie.txt"
Attributes of a bugreport
Overview
add a table of all attributes
Attachments
Get a list of attachments:
Comments
BugHelper/Dev/python-launchpad-bugs/Bug (last edited 2008-08-12 22:24:51 by c-24-21-234-111)