Improve log message
authorMichael Andres <ma@suse.de>
Wed, 15 Jan 2014 07:19:46 +0000 (08:19 +0100)
committerMichael Andres <ma@suse.de>
Fri, 24 Jan 2014 07:24:32 +0000 (08:24 +0100)
zypp/parser/RepoFileReader.cc

index eefacc5..9f5b079 100644 (file)
@@ -71,7 +71,7 @@ namespace zypp
           {
             std::vector<std::string> keys;
             str::split( it->second, std::back_inserter(keys) );
-            if ( ! keys.empty() ) 
+            if ( ! keys.empty() )
               info.setGpgKeyUrl( Url(*keys.begin()) );
           }
           else if ( it->first == "gpgcheck" )
@@ -83,7 +83,7 @@ namespace zypp
           else if ( it->first == "proxy" )
           {
            if (it->second != "_none_" )
-            { 
+            {
               str::regex ex("^(.*):([0-9]+)$");
               str::smatch what;
               if(str::regex_match(it->second, what, ex)){
@@ -92,7 +92,7 @@ namespace zypp
               }
             }
           } else
-            ERR << "Unknown attribute in [" << *its << "]: " << it->second << " ignored" << endl;
+            ERR << "Unknown attribute in [" << *its << "]: " << it->first << "=" << it->second << " ignored" << endl;
         }
         if (url.isValid())
             info.addBaseUrl(url);