[mlpack-svn] r15668 - mlpack/conf/jenkins-conf/benchmark/benchmark

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Aug 26 10:15:03 EDT 2013


Author: marcus
Date: Mon Aug 26 10:15:02 2013
New Revision: 15668

Log:
Another fix for the python3 string buffer conversion.

Modified:
   mlpack/conf/jenkins-conf/benchmark/benchmark/make_reports.py

Modified: mlpack/conf/jenkins-conf/benchmark/benchmark/make_reports.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/benchmark/make_reports.py	(original)
+++ mlpack/conf/jenkins-conf/benchmark/benchmark/make_reports.py	Mon Aug 26 10:15:02 2013
@@ -141,7 +141,9 @@
     infoValues = {}
     infoValues["name"] = methodName
     infoValues["nameID"] = methodName + str(hash(datetime.datetime.now()))
-    infoValues["content"] =results[0][2].lstrip(" ")
+    content = str(results[0][2])
+    content = content.lstrip(" ")
+    infoValues["content"] = content
     methodInfo = panelTemplate % infoValues
   
   return methodInfo



More information about the mlpack-svn mailing list