[zypp-commit] r10957 - /trunk/libzypp/zypp/RepoManager.cc
Author: jkupec Date: Mon Sep 8 16:55:39 2008 New Revision: 10957 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10957&view=rev Log: - don't write to stdout Modified: trunk/libzypp/zypp/RepoManager.cc Modified: trunk/libzypp/zypp/RepoManager.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoManager.cc?rev=10957&r1=10956&r2=10957&view=diff ============================================================================== --- trunk/libzypp/zypp/RepoManager.cc (original) +++ trunk/libzypp/zypp/RepoManager.cc Mon Sep 8 16:55:39 2008 @@ -1345,6 +1345,7 @@ addService( ServiceInfo(alias, url) ); } + void RepoManager::addService( const ServiceInfo & service ) { // check if service already exists @@ -1352,13 +1353,15 @@ return; //FIXME ZYPP_THROW(RepoAlreadyExistsException(service.name())); //this is need to save location to correct service - const ServiceInfo & savedService = *(_pimpl->services.insert( service )).first; + const ServiceInfo & savedService = + *(_pimpl->services.insert( service )).first; - cout << "adde service " << savedService.alias() << endl; + MIL << "added service " << savedService.alias() << endl; _pimpl->saveService( savedService ); } + void RepoManager::removeService( const string & alias) { MIL << "Going to delete repo " << alias << endl; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
jkupec@svn.opensuse.org