[infinispan-commits] Infinispan SVN: r150 - trunk/bin.
infinispan-commits at lists.jboss.org
infinispan-commits at lists.jboss.org
Mon Apr 20 07:24:24 EDT 2009
Author: manik.surtani at jboss.com
Date: 2009-04-20 07:24:23 -0400 (Mon, 20 Apr 2009)
New Revision: 150
Modified:
trunk/bin/findDisabledTests.py
Log:
Added version check
Modified: trunk/bin/findDisabledTests.py
===================================================================
--- trunk/bin/findDisabledTests.py 2009-04-20 11:23:30 UTC (rev 149)
+++ trunk/bin/findDisabledTests.py 2009-04-20 11:24:23 UTC (rev 150)
@@ -6,6 +6,14 @@
import time
import sys
+def assertValidPython():
+ if (sys.version < 2.5):
+ raise Error("Incompatible version of Python. Need at least Python 2.5.0")
+
+
+assertValidPython()
+
+
class GlobDirectoryWalker:
# a forward iterator that traverses a directory tree
@@ -43,12 +51,6 @@
def stripLeadingDots(filename):
return filename.strip('/. ')
-def assertValidPython():
- if (sys.version < 2.5):
- raise Error("Incompatible version of Python. Need at least Python 2.5.0")
-
-
-assertValidPython()
## Walk through all files that end with Test.java
startTime = time.clock()
disabledTestFiles = []
More information about the infinispan-commits
mailing list