- don't write to stdout
authorJan Kupec <jkupec@suse.cz>
Mon, 8 Sep 2008 14:55:39 +0000 (14:55 +0000)
committerJan Kupec <jkupec@suse.cz>
Mon, 8 Sep 2008 14:55:39 +0000 (14:55 +0000)
zypp/RepoManager.cc

index 56811f5..97cc3d7 100644 (file)
@@ -1345,6 +1345,7 @@ namespace zypp
     addService( ServiceInfo(alias, url) );
   }
 
+
   void RepoManager::addService( const ServiceInfo & service )
   {
     // check if service already exists
@@ -1352,13 +1353,15 @@ namespace zypp
       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;