-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
William Hubbs wrote:
> I just ran a test with this again, and it does look like "--nospinner"
> is not allowed in emerge_default_opts.
Thank you, this is indeed a bug and I've committed a fix to trunk (2.1_preX).
You can wait for the next release or use the attached patch if you'd like.
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD3g1N/ejvha5XGaMRArfXAJoCKz5Uv+vBRQK3YKwOeY2UVmsrlQCg5urO
wTZY9YRMQGMKQgMjvbSzcjA=
=9oR9
-----END PGP SIGNATURE-----
Index: bin/emerge
===================================================================
--- bin/emerge (revision 2606)
+++ bin/emerge (working copy)
@@ -72,10 +72,7 @@
if "candy" in portage.settings.features:
spinner = spinner_msgs[int(time.time()*100)%len(spinner_msgs)]
update_spinner = update_scroll_spinner
-if not sys.stdout.isatty() or ("--nospinner" in sys.argv):
- update_spinner = update_basic_spinner
-
if (not sys.stdout.isatty()) or (portage.settings["NOCOLOR"] in ["yes","true"]):
nocolor()
@@ -431,6 +428,9 @@
if ("--nocolor" in myopts) and (sys.stdout.isatty()):
nocolor()
+if not sys.stdout.isatty() or ("--nospinner" in myopts):
+ update_spinner = update_basic_spinner
+
CLEAN_DELAY = 5
EMERGE_WARNING_DELAY = 10
if portage.settings["CLEAN_DELAY"]: