From: W. Trevor King <wking@tremily.us> Date: Wed, 29 Aug 2012 15:56:17 +0000 (-0400) Subject: bug: fix invalid root element comment -> bug in Bug.from_xml(). X-Git-Tag: 1.1.0~114 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93e226ee9affa37c19b7cc7da52e1b3bdcb64003;p=be.git bug: fix invalid root element comment -> bug in Bug.from_xml(). --- 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 = []