renamed resolvabletype to kind in xml outpu
authorThomas Goettlicher <tgoettlicher@suse.de>
Fri, 3 Aug 2007 08:56:17 +0000 (08:56 +0000)
committerThomas Goettlicher <tgoettlicher@suse.de>
Fri, 3 Aug 2007 08:56:17 +0000 (08:56 +0000)
src/zypper-misc.cc

index 3ae174c..29d9f98 100644 (file)
@@ -699,7 +699,7 @@ bool xml_list_patches ()
         cout << "pkgmanager=\"" << ((patch->affects_pkg_manager()) ? "true" : "false") << "\" ";
         cout << "restart=\"" << ((patch->reboot_needed()) ? "true" : "false") << "\" ";
         cout << "interactive=\"" << ((patch->interactive()) ? "true" : "false") << "\" ";
-        cout << "resolvabletype=\"" << "patch" << "\" ";
+        cout << "kind=\"" << "patch" << "\" ";
         cout << ">" << endl;
         cout << "  <summary>" << xml_escape(patch->summary()) << "  </summary>" << endl;
         cout << "  <description>" << xml_escape(patch->description()) << "</description>" << endl;
@@ -1005,7 +1005,7 @@ void xml_list_updates()
     cout << " <update ";
     cout << "name=\"" << res->name () << "\" " ;
     cout << "edition=\""  << res->edition ().asString() << "\" ";
-    cout << "resolvabletype=\"" << "package" << "\" ";
+    cout << "kind=\"" << "package" << "\" ";
     cout << ">" << endl;
     cout << "  <summary>" << xml_escape(res->summary()) << "  </summary>" << endl;
     cout << "  <description>" << xml_escape(res->description()) << "</description>" << endl;