kadischi/lib functions.py,1.7,1.8
Jasper O'neal Hartline (autopsy)
fedora-extras-commits at redhat.com
Thu Jun 15 23:16:51 UTC 2006
Author: autopsy
Update of /cvs/devel/kadischi/lib
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18274/kadischi/lib
Modified Files:
functions.py
Log Message:
lib/functions.py use a tuple with clear_rpm_db_files()
Index: functions.py
===================================================================
RCS file: /cvs/devel/kadischi/lib/functions.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- functions.py 11 Apr 2006 16:16:26 -0000 1.7
+++ functions.py 15 Jun 2006 23:16:49 -0000 1.8
@@ -47,9 +47,9 @@
def rmpath (p):
try: os.remove (p)
except OSError: pass
- rmpath (normalize_path ('var/lib/rpm/__db.001', rootdir))
- rmpath (normalize_path ('var/lib/rpm/__db.002', rootdir))
- rmpath (normalize_path ('var/lib/rpm/__db.003', rootdir))
+ rmpath (normalize_path (('var/lib/rpm/__db.001',), rootdir))
+ rmpath (normalize_path (('var/lib/rpm/__db.002',), rootdir))
+ rmpath (normalize_path (('var/lib/rpm/__db.003',), rootdir))
def check_installed_rpms (rootdir, required_rpms, clear_db = True):
"""Sanity check the target system for required RPMs"""
More information about the scm-commits
mailing list