Repository: fix xml output
authorMichael Andres <ma@suse.de>
Tue, 15 Apr 2014 14:34:41 +0000 (16:34 +0200)
committerMichael Andres <ma@suse.de>
Tue, 15 Apr 2014 14:34:41 +0000 (16:34 +0200)
zypp/Repository.cc

index 287ef58..4460978 100644 (file)
@@ -337,8 +337,8 @@ namespace zypp
     std::ostream & dumpAsXmlOn( std::ostream & str, const Repository & obj )
     {
       return xmlout::node( str, "repository", {
-       { "alias", obj.name() },
-       { "name", obj.alias() }
+       { "name", obj.name() },
+       { "alias", obj.alias() }
       } );
     }