Author: jkupec
Date: Wed Feb 27 19:07:09 2008
New Revision: 8938
URL: http://svn.opensuse.org/viewcvs/zypp?rev=8938&view=rev
Log:
- cleanup
Modified:
trunk/zypper/src/zypper-misc.cc
Modified: trunk/zypper/src/zypper-misc.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-misc.cc?rev=8938&r1=8937&r2=8938&view=diff
==============================================================================
--- trunk/zypper/src/zypper-misc.cc (original)
+++ trunk/zypper/src/zypper-misc.cc Wed Feb 27 19:07:09 2008
@@ -1077,13 +1077,13 @@
!pkg_mgr_available )
{
cout << " name () << "\" " ;
+ cout << "name=\"" << res->name () << "\" ";
cout << "edition=\"" << res->edition ().asString() << "\" ";
cout << "category=\"" << patch->category() << "\" ";
- cout << "pkgmanager=\"" << ((patch->affects_pkg_manager()) ? "true" : "false") << "\" ";
- cout << "restart=\"" << ((patch->reboot_needed()) ? "true" : "false") << "\" ";
- cout << "interactive=\"" << ((patch->interactive()) ? "true" : "false") << "\" ";
- cout << "kind=\"" << "patch" << "\" ";
+ cout << "pkgmanager=\"" << (patch->affects_pkg_manager() ? "true" : "false") << "\" ";
+ cout << "restart=\"" << (patch->reboot_needed() ? "true" : "false") << "\" ";
+ cout << "interactive=\"" << (patch->interactive() ? "true" : "false") << "\" ";
+ cout << "kind=\"patch\"";
cout << ">" << endl;
cout << " <summary>" << xml_encode(patch->summary()) << " </summary>" << endl;
cout << " <description>" << xml_encode(patch->description()) << "</description>" << endl;
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org