projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2293f70
)
bug: fix invalid root element comment -> bug in Bug.from_xml().
author
W. Trevor King
<wking@tremily.us>
Wed, 29 Aug 2012 15:56:17 +0000
(11:56 -0400)
committer
W. Trevor King
<wking@tremily.us>
Thu, 30 Aug 2012 03:29:55 +0000
(23:29 -0400)
libbe/bug.py
patch
|
blob
|
history
diff --git
a/libbe/bug.py
b/libbe/bug.py
index c91dfb869706c6af47fd3c42582bd3917e162d01..07f09e4bbb2800df87eaf349496441386172b071 100644
(file)
--- a/
libbe/bug.py
+++ b/
libbe/bug.py
@@
-476,7
+476,7
@@
class Bug (settings_object.SavedSettingsObject):
bug = ElementTree.XML(xml_string)
if bug.tag != 'bug':
raise utility.InvalidXML( \
- 'bug', bug, 'root element must be <
comment
>')
+ 'bug', bug, 'root element must be <
bug
>')
tags=['uuid','short-name','severity','status','assigned',
'reporter', 'creator','created','summary','extra-string']
self.explicit_attrs = []