|
From: <ba...@us...> - 2008-02-13 20:18:43
|
Revision: 535
http://omc.svn.sourceforge.net/omc/?rev=535&view=rev
Author: bartw
Date: 2008-02-13 12:18:47 -0800 (Wed, 13 Feb 2008)
Log Message:
-----------
minor fix
Modified Paths:
--------------
pybase/trunk/OMC_LogicalFile.py
Modified: pybase/trunk/OMC_LogicalFile.py
===================================================================
--- pybase/trunk/OMC_LogicalFile.py 2008-01-07 17:49:30 UTC (rev 534)
+++ pybase/trunk/OMC_LogicalFile.py 2008-02-13 20:18:47 UTC (rev 535)
@@ -541,6 +541,8 @@
dirs = ['/' + dir for dir in os.listdir('/')]
for dir in ['/'] + dirs:
stat = os.lstat(dir)
+ if not S_ISDIR(stat.st_mode):
+ continue
get_file_keys(dir, model, stat=stat)
if keys_only:
yield model
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|