Author: jkupec Date: Sun Apr 27 17:05:57 2008 New Revision: 9843 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9843&view=rev Log: - fixed malformed repo metadata download progress output (bnc #304277) Modified: trunk/zypper/src/zypper-repos.cc Modified: trunk/zypper/src/zypper-repos.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-repos.cc?rev=9843&r1=9842&r2=9843&view=diff ============================================================================== --- trunk/zypper/src/zypper-repos.cc (original) +++ trunk/zypper/src/zypper-repos.cc Sun Apr 27 17:05:57 2008 @@ -94,7 +94,7 @@ WAR << "new item in enum, which is not covered" << endl; } } - break; // don't check all the urls, just the first succussfull. + break; // don't check all the urls, just the first successfull. } catch (const Exception & e) { @@ -111,8 +111,8 @@ if (do_refresh) { - zypper.runtimeData().raw_refresh_progress_label = - boost::str(format(_("Downloading repository '%s' metadata.")) % repo.name()); + plabel = str::form( + _("Downloading repository '%s' metadata."), repo.name().c_str()); zypper.out().progressStart("raw-refresh", plabel, true); manager.refreshMetadata(repo, @@ -123,6 +123,7 @@ RepoManager::RefreshIfNeeded); zypper.out().progressEnd("raw-refresh", plabel); + plabel.clear(); } } catch (const MediaException & e) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org