[yum-cvs] yum/rpmUtils miscutils.py,1.18,1.19
James Bowes
jbowes at linux.duke.edu
Sun Feb 18 14:30:59 UTC 2007
- Previous message: [yum-cvs] yum-metadata-parser db.c, 1.6, 1.7 db.h, 1.3, 1.4 package.h, 1.1.1.1, 1.2 sqlitecache.c, 1.8, 1.9 xml-parser.c, 1.5, 1.6
- Next message: [yum-cvs] yum/yum depsolve.py,1.120,1.121 packages.py,1.93,1.94
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/groups/yum/cvs/yum/rpmUtils
In directory login1.linux.duke.edu:/tmp/cvs-serv13680/rpmUtils
Modified Files:
miscutils.py
Log Message:
When loading the header for transaction checking, don't check the signature.
rpm will raise an exception when we try to read the header from an fdno, if
we have signature checking turned on and the header's signature is bad or
unknown. At the stage that we're reading the header, we don't care and just want
to get that data.
Index: miscutils.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/rpmUtils/miscutils.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- miscutils.py 14 Feb 2007 16:03:56 -0000 1.18
+++ miscutils.py 18 Feb 2007 14:30:57 -0000 1.19
@@ -343,6 +343,8 @@
except OSError, e:
raise rpmUtils.RpmUtilsError, 'Unable to open file'
+ # XXX: We should start a readonly ts here, so we don't get the options
+ # from the other one (sig checking, etc)
try:
hdr = ts.hdrFromFdno(fdno)
except rpm.error, e:
- Previous message: [yum-cvs] yum-metadata-parser db.c, 1.6, 1.7 db.h, 1.3, 1.4 package.h, 1.1.1.1, 1.2 sqlitecache.c, 1.8, 1.9 xml-parser.c, 1.5, 1.6
- Next message: [yum-cvs] yum/yum depsolve.py,1.120,1.121 packages.py,1.93,1.94
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Yum-cvs-commits
mailing list