Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 68333 Details for
Bug 98634
equery ignores --nocolor (and -C and NOCOLOR environment variable) when --help is given
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against equery 0.1.4
equery.diff (text/plain), 1.21 KB, created by
Andres Pereira (RETIRED)
on 2005-09-13 00:49:53 UTC
(
hide
)
Description:
Patch against equery 0.1.4
Filename:
MIME Type:
Creator:
Andres Pereira (RETIRED)
Created:
2005-09-13 00:49:53 UTC
Size:
1.21 KB
patch
obsolete
>--- /usr/bin/equery 2005-09-13 03:39:51.000000000 -0400 >+++ equery 2005-09-13 03:46:31.000000000 -0400 >@@ -1497,18 +1497,20 @@ > print_info(0, " " + pp.command(x) + "(" + pp.command(short_cmds[x]) + ") " + \ > Known_commands[x].shortHelp()) > print >+ >+def guessColourOutput(): >+ if (Config["color"] == -1 and \ >+ ((not sys.stdout.isatty()) or \ >+ (gentoolkit.settings["NOCOLOR"] in ["yes","true"]))) \ >+ or \ >+ Config["color"] == 0: >+ pp.output.nocolor() > > def configure(): > """Set up default configuration. > """ > >- # Guess colour output >- if (Config["color"] == -1 and \ >- ((not sys.stdout.isatty()) or \ >- (gentoolkit.settings["NOCOLOR"] in ["yes","true"]))) \ >- or \ >- Config["color"] == 0: >- pp.output.nocolor() >+ guessColourOutput() > > # Guess piping output > if not sys.stdout.isatty(): >@@ -1556,6 +1558,7 @@ > break > > if not command and showhelp: >+ guessColourOutput() > printUsage() > sys.exit(0) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 98634
:
68330
| 68333