[yum-cvs] yum/yum __init__.py,1.146,1.147
Seth Vidal
skvidal at login.linux.duke.edu
Tue Nov 8 06:33:07 UTC 2005
Update of /home/groups/yum/cvs/yum/yum
In directory login:/tmp/cvs-serv13018/yum
Modified Files:
__init__.py
Log Message:
fixme's notes for install()
Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- __init__.py 7 Nov 2005 08:23:57 -0000 1.146
+++ __init__.py 8 Nov 2005 06:33:05 -0000 1.147
@@ -1528,7 +1528,10 @@
if po is None:
raise Errors.InstallError, 'No package available to install'
-
+ # FIXME - lots more checking here
+ # - update instead
+ # - install instead of erase
+ # - better exceptions
txmbrs = self.tsInfo.getMembers(pkgtup=po.pkgtup)
if txmbrs:
self.log(4, 'Package: %s - already in transaction set' % po)
More information about the Yum-cvs-commits
mailing list