Fix missing priority in RepoInfo::dumpAsXML (bnc#855845)
authorMichael Andres <ma@suse.de>
Sun, 19 Jan 2014 14:29:23 +0000 (15:29 +0100)
committerMichael Andres <ma@suse.de>
Sun, 19 Jan 2014 14:29:23 +0000 (15:29 +0100)
zypp/RepoInfo.cc

index 544531b..78ffb6c 100644 (file)
@@ -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() << "\"";