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:
f2994d0
)
Fix missing priority in RepoInfo::dumpAsXML (bnc#855845)
author
Michael Andres
<ma@suse.de>
Sun, 19 Jan 2014 14:29:23 +0000
(15:29 +0100)
committer
Michael Andres
<ma@suse.de>
Sun, 19 Jan 2014 14:29:23 +0000
(15:29 +0100)
zypp/RepoInfo.cc
patch
|
blob
|
history
diff --git
a/zypp/RepoInfo.cc
b/zypp/RepoInfo.cc
index
544531b
..
78ffb6c
100644
(file)
--- a/
zypp/RepoInfo.cc
+++ b/
zypp/RepoInfo.cc
@@
-287,7
+287,7
@@
namespace zypp
{
static const std::string noAcceptanceFile = "no-acceptance-needed\n";
bool accept = true;
-
+
Pathname licenseTgz( _pimpl->licenseTgz() );
if ( licenseTgz.empty() || ! PathInfo( licenseTgz ).isFile() )
return false; // no licenses at all
@@
-476,6
+476,7
@@
namespace zypp
if (type() != repo::RepoType::NONE)
str << " type=\"" << type().asString() << "\"";
str
+ << " priority=\"" << priority() << "\""
<< " enabled=\"" << enabled() << "\""
<< " autorefresh=\"" << autorefresh() << "\""
<< " gpgcheck=\"" << gpgCheck() << "\"";