From: Junchun Guan Date: Fri, 28 Feb 2014 08:16:28 +0000 (+0800) Subject: Use python2.6 compatible method of parsing xml X-Git-Tag: 0.21~17^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=943bdadf41c44524799b102627d6534486f5b189;p=tools%2Fgbs.git Use python2.6 compatible method of parsing xml Change-Id: I9785815f63beba5ef7210939222b1f7b78ed84c4 Signed-off-by: Junchun Guan --- diff --git a/gitbuildsys/oscapi.py b/gitbuildsys/oscapi.py index 11368a4..dcabc16 100644 --- a/gitbuildsys/oscapi.py +++ b/gitbuildsys/oscapi.py @@ -97,7 +97,7 @@ class OSC(object): def get_tags(self, project, tags): """Get tags content from meta.""" meta_xml = self.get_meta(project) - xml_root = ET.fromstringlist(meta_xml) + xml_root = ET.fromstring(meta_xml) result = '' for tag in tags: