[mlpack-svn] r15578 - mlpack/conf/jenkins-conf/benchmark/util
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Aug 1 16:28:08 EDT 2013
Author: marcus
Date: Thu Aug 1 16:28:08 2013
New Revision: 15578
Log:
Make the code compatible with python3.
Modified:
mlpack/conf/jenkins-conf/benchmark/util/misc.py
Modified: mlpack/conf/jenkins-conf/benchmark/util/misc.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/util/misc.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/util/misc.py Thu Aug 1 16:28:08 2013
@@ -14,7 +14,7 @@
def isFloat(n):
try:
float(n)
- except ValueError, TypeError:
+ except ValueError as TypeError:
return False
else:
return True
More information about the mlpack-svn
mailing list