Lines 408-415
Link Here
|
408 |
myopts.remove("--tree") |
408 |
myopts.remove("--tree") |
409 |
|
409 |
|
410 |
# Set color output |
410 |
# Set color output |
411 |
if ("--nocolor" in myopts) and (sys.stdout.isatty()): |
411 |
if "--nocolor" in myopts or \ |
|
|
412 |
portage.settings["NOCOLOR"] in ("yes","true"): |
412 |
nocolor() |
413 |
nocolor() |
|
|
414 |
if "NOCOLOR" not in portage.settings: |
415 |
portage.settings.unlock() |
416 |
portage.settings["NOCOLOR"] = "true" |
417 |
portage.settings.backup_changes("NOCOLOR") |
418 |
portage.settings.lock() |
413 |
|
419 |
|
414 |
if not ("--quiet" in myopts): |
420 |
if not ("--quiet" in myopts): |
415 |
if not sys.stdout.isatty() or ("--nospinner" in myopts): |
421 |
if not sys.stdout.isatty() or ("--nospinner" in myopts): |