[yum-cvs] yum/yum __init__.py,1.335,1.336
Tim Lauridsen
timlau at linux.duke.edu
Fri Jun 29 10:19:42 UTC 2007
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv18649/yum
Modified Files:
__init__.py
Log Message:
make 'yum clean all' work again, it fails trying to get the files
in the headers directory there is not used anymore.
Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.335
retrieving revision 1.336
diff -u -r1.335 -r1.336
--- __init__.py 25 Jun 2007 18:46:52 -0000 1.335
+++ __init__.py 29 Jun 2007 10:19:40 -0000 1.336
@@ -988,7 +988,8 @@
for repo in self.repos.listEnabled():
repo.dirSetup()
path = getattr(repo, pathattr)
- filelist = misc.getFileList(path, ext, filelist)
+ if os.path.exists(path) and os.path.isdir(path):
+ filelist = misc.getFileList(path, ext, filelist)
for item in filelist:
try:
More information about the Yum-cvs-commits
mailing list