[yum-cvs] yum shell.py,1.2,1.3

Seth Vidal skvidal at login.linux.duke.edu
Wed Feb 23 06:56:45 UTC 2005


Update of /home/groups/yum/cvs/yum
In directory login:/tmp/cvs-serv5560

Modified Files:
	shell.py 
Log Message:

add a depsolve and listTransaction command into the shell
mostly a proof-of-concept.



Index: shell.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/shell.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- shell.py	1 Feb 2005 23:35:10 -0000	1.2
+++ shell.py	23 Feb 2005 06:56:43 -0000	1.3
@@ -70,6 +70,12 @@
     def do_exit(self, line):
         self.resultmsgs = ['Leaving Shell']
         return True
+    
+    def do_listTransaction(self, line):
+        print self.base.listTransaction()
+        
+    def do_depsolve(self, line):
+        self.base.buildTransaction()
         
     def do_run(self, line):
         if len(self.base.tsInfo) > 0:




More information about the Yum-cvs-commits mailing list