projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9ce5e2
)
"license-to-confirm" was moved within primary.xml, now adapt the parser (#168437)
author
Klaus Kaempf
<kkaempf@suse.de>
Tue, 2 May 2006 12:57:53 +0000
(12:57 +0000)
committer
Klaus Kaempf
<kkaempf@suse.de>
Tue, 2 May 2006 12:57:53 +0000
(12:57 +0000)
zypp/parser/yum/YUMPrimaryParser.cc
patch
|
blob
|
history
diff --git
a/zypp/parser/yum/YUMPrimaryParser.cc
b/zypp/parser/yum/YUMPrimaryParser.cc
index
c153487
..
b2d2c56
100644
(file)
--- 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 <metadata> contains the unknown element <" << name << "> "
<< _helper.positionInfo(child) << ", skipping" << endl;