From: Klaus Kaempf Date: Tue, 2 May 2006 12:57:53 +0000 (+0000) Subject: "license-to-confirm" was moved within primary.xml, now adapt the parser (#168437) X-Git-Tag: BASE-SuSE-SLE-10-SP2-Branch~862 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff032dc09e55b8049215aea31d9a0d58c454e8b7;p=platform%2Fupstream%2Flibzypp.git "license-to-confirm" was moved within primary.xml, now adapt the parser (#168437) --- diff --git a/zypp/parser/yum/YUMPrimaryParser.cc b/zypp/parser/yum/YUMPrimaryParser.cc index c153487..b2d2c56 100644 --- a/zypp/parser/yum/YUMPrimaryParser.cc +++ b/zypp/parser/yum/YUMPrimaryParser.cc @@ -139,6 +139,10 @@ namespace zypp { else if (name == "format") { parseFormatNode(dataPtr, child); } + else if (name == "license-to-confirm") + { + dataPtr->license_to_confirm.setText(_helper.content(child), Locale(_helper.attribute(child,"lang"))); + } else { WAR << "YUM contains the unknown element <" << name << "> " << _helper.positionInfo(child) << ", skipping" << endl;