From ff032dc09e55b8049215aea31d9a0d58c454e8b7 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Tue, 2 May 2006 12:57:53 +0000 Subject: [PATCH] "license-to-confirm" was moved within primary.xml, now adapt the parser (#168437) --- zypp/parser/yum/YUMPrimaryParser.cc | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.7.4