[yum-cvs] yum cli.py,1.255,1.256

Tim Lauridsen timlau at linux.duke.edu
Fri Feb 16 07:58:31 UTC 2007


Update of /home/groups/yum/cvs/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv20672

Modified Files:
	cli.py 
Log Message:
Let the plugins know what the commandline options and arguments are.

Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.255
retrieving revision 1.256
diff -u -r1.255 -r1.256
--- cli.py	14 Feb 2007 22:08:30 -0000	1.255
+++ cli.py	16 Feb 2007 07:58:29 -0000	1.256
@@ -1041,6 +1041,9 @@
         # Now parse the command line for real
         (opts, cmds) = self.parse_args()
 
+        # Let the plugins know what happened on the command line
+        self.base.plugins.setCmdLine(opts, cmds)
+
         try:
             # config file is parsed and moving us forward
             # set some things in it.




More information about the Yum-cvs-commits mailing list