dont reset spinner for non-ttys if --quiet is in use
authorMike Frysinger <vapier@gentoo.org>
Sat, 11 Mar 2006 10:33:26 +0000 (10:33 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 11 Mar 2006 10:33:26 +0000 (10:33 -0000)
svn path=/main/trunk/; revision=2849

bin/emerge

index 4ffdeb634eb901bb80de016664ee05f778bfe8be..83ee205ad6d9b6acc3342c80b65dd7aafe8236a6 100755 (executable)
@@ -411,8 +411,9 @@ if ("--resume" in myopts):
 if ("--nocolor" in myopts) and (sys.stdout.isatty()):
        nocolor()
 
-if not sys.stdout.isatty() or ("--nospinner" in myopts):
-       update_spinner = update_basic_spinner
+if not ("--quiet" in myopts):
+       if not sys.stdout.isatty() or ("--nospinner" in myopts):
+               update_spinner = update_basic_spinner
 
 CLEAN_DELAY = 5
 EMERGE_WARNING_DELAY = 10