[Commits] (jeffrey) Don't transform 'tests' folders, their namespaces aren't in harmony with the XSL relative path assumptions.

commits at osafoundation.org commits at osafoundation.org
Fri Jan 23 22:51:25 PST 2004


Commit by: jeffrey
Modified files:
osaf/chandler/Chandler/__hardhat__.py 1.144 1.145

Log message:
Don't transform 'tests' folders, their namespaces aren't in harmony with the XSL relative path assumptions.


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/osaf/chandler/Chandler/__hardhat__.py.diff?r1=text&tr1=1.144&r2=text&tr2=1.145

Index: osaf/chandler/Chandler/__hardhat__.py
diff -u osaf/chandler/Chandler/__hardhat__.py:1.144 osaf/chandler/Chandler/__hardhat__.py:1.145
--- osaf/chandler/Chandler/__hardhat__.py:1.144	Fri Jan 23 21:56:52 2004
+++ osaf/chandler/Chandler/__hardhat__.py	Fri Jan 23 22:50:55 2004
@@ -512,7 +512,7 @@
         fileList.append(os.path.join(path, filename))
     for name in os.listdir(path):
         full_name = os.path.join(path, name)
-        if os.path.isdir(full_name):
+        if os.path.isdir(full_name) and name != 'tests':
             fileList = fileList + _findFiles(full_name, filename)
     return fileList
 



More information about the Commits mailing list