aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-08-29 11:56:17 -0400
committerW. Trevor King <wking@tremily.us>2012-08-29 23:29:55 -0400
commit93e226ee9affa37c19b7cc7da52e1b3bdcb64003 (patch)
tree93feff7488b3d056523af079f6ce04a931edc013
parent2293f704a2fc0ea7918dd8c8ba54b7aa4f660eec (diff)
downloadbugseverywhere-93e226ee9affa37c19b7cc7da52e1b3bdcb64003.tar.gz
bug: fix invalid root element comment -> bug in Bug.from_xml().
-rw-r--r--libbe/bug.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/bug.py b/libbe/bug.py
index c91dfb8..07f09e4 100644
--- 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 = []