Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90046 - patch: make equery -N work [equery(0.1.3)]
Summary: patch: make equery -N work [equery(0.1.3)]
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-22 09:32 UTC by Tim Yardley
Modified: 2006-01-17 19:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for equery 0.1.3 (equery.patch,890 bytes, patch)
2005-04-22 09:33 UTC, Tim Yardley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Yardley 2005-04-22 09:32:11 UTC
this is a patch against equery(0.1.3)

Reproducible: Always
Steps to Reproduce:
use equery -N in a pipe.




--- /usr/bin/equery.old 2005-04-22 11:23:15.000000000 -0500
+++ /usr/bin/equery     2005-04-22 11:29:43.000000000 -0500
@@ -1469,6 +1469,7 @@
     print_info(0, "where " + pp.globaloption("<global-opts>") + " is one of")
     print_info(0, pp.globaloption(" -q, --quiet") + "   - minimal output")
     print_info(0, pp.globaloption(" -C, --nocolor") + " - turn off colours")
+    print_info(0, pp.globaloption(" -N, --no-pipe") + " - override pipe detection")
     print_info(0, pp.globaloption(" -h, --help") + "    - this help screen")
     print_info(0, pp.globaloption(" -V, --version") + " - display version info")

@@ -1544,8 +1545,8 @@
     return (command, local_opts)

 if __name__ == "__main__":
-    (cmd, local_opts) = parseArgs(sys.argv[1:])
     configure()
+    (cmd, local_opts) = parseArgs(sys.argv[1:])
     if cmd:
         try:
             cmd.perform(local_opts)
Comment 1 Tim Yardley 2005-04-22 09:33:56 UTC
Created attachment 56930 [details, diff]
patch for equery 0.1.3

attached
Comment 2 Paul Varner (RETIRED) gentoo-dev 2006-01-17 19:15:39 UTC
Fixed in gentoolkit-0.2.1