[yum-cvs] yum/yum __init__.py,1.137,1.138
Seth Vidal
skvidal at login.linux.duke.edu
Tue Oct 18 05:27:10 UTC 2005
Update of /home/groups/yum/cvs/yum/yum
In directory login:/tmp/cvs-serv6140
Modified Files:
__init__.py
Log Message:
stubs for install(), update() and erase() methods for YumBase class
Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -r1.137 -r1.138
--- __init__.py 18 Oct 2005 05:06:51 -0000 1.137
+++ __init__.py 18 Oct 2005 05:27:07 -0000 1.138
@@ -1474,3 +1474,25 @@
return results
+ def install(self, input):
+ """try to mark for install the input
+ - input can be a pkg object or string"""
+ # convert 'input'
+ # try to install 'best version of input'
+ # if nothing can be installed raise an exception
+ # if any pkgs can be installed then return a list of the
+ # transaction members for those.
+ pass
+
+ def update(self, input):
+ """try to find and mark for update the input
+ - input can be a pkg object or string"""
+ pass
+
+ def erase(self, input):
+ """try to find and mark for erase the input -
+ - input can be a pkg object or string"""
+ pass
+
+
+
More information about the Yum-cvs-commits
mailing list