Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11665 - /trunk/zypper/src/output/OutNormal.cc
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Wed, 12 Nov 2008 15:28:12 -0000
  • Message-id: <20081112152812.27D553731C@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Wed Nov 12 16:28:11 2008
New Revision: 11665

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11665&view=rev
Log:
- removed AliveCursor from download progress start

Modified:
trunk/zypper/src/output/OutNormal.cc

Modified: trunk/zypper/src/output/OutNormal.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/output/OutNormal.cc?rev=11665&r1=11664&r2=11665&view=diff
==============================================================================
--- trunk/zypper/src/output/OutNormal.cc (original)
+++ trunk/zypper/src/output/OutNormal.cc Wed Nov 12 16:28:11 2008
@@ -20,7 +20,7 @@

OutNormal::~OutNormal()
{
-
+
}

bool OutNormal::mine(Type type)
@@ -160,11 +160,9 @@
if (verbosity() < NORMAL)
return;

- static AliveCursor cursor;
if (isatty(STDOUT_FILENO))
- cout << CLEARLN << ++cursor << " " << _("Retrieving:") << " ";
- else
- cout << _("Retrieving:") << " ";
+ cout << CLEARLN;
+ cout << _("Retrieving:") << " ";
if (verbosity() == DEBUG)
cout << uri; //! \todo shorten to fit the width of the terminal
else
@@ -178,7 +176,7 @@

void OutNormal::dwnldProgress(const zypp::Url & uri,
int value,
- long rate)
+ long rate)
{
if (verbosity() < NORMAL)
return;
@@ -255,7 +253,7 @@
it != poptions.options().end(); ++it, ++pos)
{
cout << *it << " - ";
- const string & hs_r = poptions.optionHelp(pos);
+ const string & hs_r = poptions.optionHelp(pos);
if (hs_r.empty())
cout << "(" << _("no help available for this option") << ")";
else

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages