From 943bdadf41c44524799b102627d6534486f5b189 Mon Sep 17 00:00:00 2001 From: Junchun Guan Date: Fri, 28 Feb 2014 16:16:28 +0800 Subject: [PATCH] Use python2.6 compatible method of parsing xml Change-Id: I9785815f63beba5ef7210939222b1f7b78ed84c4 Signed-off-by: Junchun Guan --- gitbuildsys/oscapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.7.4