"license-to-confirm" was moved within primary.xml, now adapt the parser (#168437)
authorKlaus Kaempf <kkaempf@suse.de>
Tue, 2 May 2006 12:57:53 +0000 (12:57 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Tue, 2 May 2006 12:57:53 +0000 (12:57 +0000)
zypp/parser/yum/YUMPrimaryParser.cc

index c153487..b2d2c56 100644 (file)
@@ -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 <metadata> contains the unknown element <" << name << "> "
                 << _helper.positionInfo(child) << ", skipping" << endl;