[mlpack-svn] r15682 - mlpack/conf/jenkins-conf/benchmark/benchmark
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Aug 27 15:37:35 EDT 2013
Author: marcus
Date: Tue Aug 27 15:37:34 2013
New Revision: 15682
Log:
Fix the discription indication error.
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 Tue Aug 27 15:37:34 2013
@@ -116,8 +116,7 @@
memoryValues["name"] = result[7]
memoryValues["nameID"] = result[7] + str(hash(datetime.datetime.now()))
- content = str(Profiler.MassifMemoryUsageReport(str(result[5])))
- content = content.lstrip(" ")
+ content = Profiler.MassifMemoryUsageReport(str(result[5])).lstrip(b" ")
memoryValues["content"] = "content"
filename = "img/massif_" + os.path.basename(result[5]).split('.')[0] + ".png"
@@ -141,8 +140,7 @@
infoValues = {}
infoValues["name"] = methodName
infoValues["nameID"] = methodName + str(hash(datetime.datetime.now()))
- content = str(results[0][2])
- content = content.lstrip(" ")
+ content = results[0][2].lstrip(b" ")
infoValues["content"] = content
methodInfo = panelTemplate % infoValues
More information about the mlpack-svn
mailing list