[svn] r4765 - trunk/tools/yam
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Mon Sep 25 14:53:54 CEST 2006
Author: dag
Date: 2006-09-25 14:53:53 +0200 (Mon, 25 Sep 2006)
New Revision: 4765
Modified:
trunk/tools/yam/yam
Log:
Improvements to reporting, make work with python 2.3 and older
Modified: trunk/tools/yam/yam
===================================================================
--- trunk/tools/yam/yam 2006-09-25 12:05:40 UTC (rev 4764)
+++ trunk/tools/yam/yam 2006-09-25 12:53:53 UTC (rev 4765)
@@ -554,7 +554,7 @@
list = Set()
for root, dirs, files in os.walk(self.srcdir):
for file in files:
- if file.endswith('.rpm'):
+ if os.path.exists(file) and file.endswith('.rpm'):
size = os.stat(os.path.join(root, file)).st_size
list.add( (file, size) )
list.sort()
More information about the svn-commits
mailing list