Bug
¶
-
class
bugsy.
Bug
(bugsy=None, **kwargs)[source]¶ This represents a Bugzilla Bug
-
OS
¶ Property for getting or setting the OS that the bug occured on
>>> bug.OS "All"
-
add_comment
(comment)[source]¶ Adds a comment to a bug. If a bug does not have a bug ID then you need call put on the
Bugsy
class.>>> bug.add_comment("I like sausages") >>> bugzilla.put(bug)
If it does have a bug id then this will do a post to the server
>>> bug.add_comment("I like eggs too")
-
component
¶ Property for getting the bug component
>>> bug.component General
-
id
¶ Property for getting the ID of a bug.
>>> bug.id 123456
-
platform
¶ Property for getting the bug platform
>>> bug.platform "ARM"
-
product
¶ Property for getting the bug product
>>> bug.product Core
-
resolution
¶ Property for getting or setting the bug resolution
>>> bug.resolution "FIXED"
-
status
¶ Property for getting or setting the bug status
>>> bug.status "REOPENED"
-
summary
¶ Property for getting and setting the bug summary
>>> bug.summary "I like cheese"
-
update
()[source]¶ Update this object with the latest changes from Bugzilla
>>> bug.status 'NEW' #Changes happen on Bugzilla >>> bug.update() >>> bug.status 'FIXED'
-
version
¶ Property for getting the bug platform
>>> bug.version "TRUNK"
-