Author: jreidinger Date: Fri Jun 20 17:31:35 2008 New Revision: 10438 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10438&view=rev Log: fix modify 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=10438&r1=10437&r2=10438&view=diff ============================================================================== --- trunk/libzypp/zypp/RepoManager.cc (original) +++ trunk/libzypp/zypp/RepoManager.cc Fri Jun 20 17:31:35 2008 @@ -1306,7 +1306,7 @@ const ProgressData::ReceiverFnc & progressrcv ) { RepoInfo info; - info.setAlias(info.alias()); + info.setAlias(alias); RepoConstIterator it = _pimpl->repos.find( info ); if( it == repoEnd() ) ZYPP_THROW(RepoNotFoundException(info)); @@ -1346,6 +1346,7 @@ if( _pimpl->services.find(service)!= _pimpl->services.end() ) return; //TODO throw exception + //this is need to save location to correct service const Service& savedService = *(_pimpl->services.insert( service )).first; _pimpl->saveService( savedService ); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org