aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/xml
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-11-28 22:07:16 -0500
committerW. Trevor King <wking@drexel.edu>2009-11-28 22:07:16 -0500
commit832843d26eed9023f4cf4fc431527c63ca1d533d (patch)
tree943e1ae77ea78623cdff923f68df9f21155f6bdf /interfaces/xml
parent7e95956f5088346807a233c63f5bc25436550ef8 (diff)
downloadbugseverywhere-832843d26eed9023f4cf4fc431527c63ca1d533d.tar.gz
Added comment import to Bug.from_xml().
This is a pretty critical feature, dunno how I missed it before. I also added a little check to both Bug and Comment.from_xml() so that xml_string can take an ElementTree Element as well as the usual raw string/unicode. This avoids repeated string <-> Element conversions. Added Bug.add_comment() which handles the addition of a Comment instance, matching .in_reply_to, checking .uuid uniqueness, etc.
Diffstat (limited to 'interfaces/xml')
0 files changed, 0 insertions, 0 deletions