[yum-git] repoquery.py

Seth Vidal skvidal at linux.duke.edu
Thu Mar 13 15:38:24 UTC 2008


 repoquery.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 33f25871d43494769256b506df3cde6bf66f2acb
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Thu Mar 13 11:35:15 2008 -0400

    move info to the top of the list b/c it makes the most sense for it to be first

diff --git a/repoquery.py b/repoquery.py
index e7800f5..60b88ab 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -667,6 +667,8 @@ def main(args):
     pkgops = []
     sackops = []
     archlist = None
+    if opts.info:
+        pkgops.append("info")
     if opts.requires:
         if opts.resolve:
             sackops.append("requires")
@@ -687,8 +689,6 @@ def main(args):
         pkgops.append("list")
     if opts.alldeps:
         needfiles = 1
-    if opts.info:
-        pkgops.append("info")
     if opts.envra:
         pkgops.append("envra")
     if opts.nvr:



More information about the Yum-cvs-commits mailing list