[Erp5-report] r34837 luke - /erp5/trunk/utils/timing_log_parser/plot.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 28 18:50:49 CEST 2010


Author: luke
Date: Wed Apr 28 18:50:46 2010
New Revision: 34837

URL: http://svn.erp5.org?rev=34837&view=rev
Log:
 - put ratio on end of filename
 - % is good filename, but not for rinterface

Modified:
    erp5/trunk/utils/timing_log_parser/plot.py

Modified: erp5/trunk/utils/timing_log_parser/plot.py
URL: http://svn.erp5.org/erp5/trunk/utils/timing_log_parser/plot.py?rev=34837&r1=34836&r2=34837&view=diff
==============================================================================
--- erp5/trunk/utils/timing_log_parser/plot.py [utf8] (original)
+++ erp5/trunk/utils/timing_log_parser/plot.py [utf8] Wed Apr 28 18:50:46 2010
@@ -160,7 +160,8 @@
       out_file, out_ext = path.splitext(path.basename(file_name))
       if out_ext != '.csv':
         out_file = '.'.join((out_file, out_ext))
-      out_file_name = '%03i_%s_%s.png' % (ratio, out_file, title)
+      out_file_name = '%s_%s_%03i.png' % (out_file, title.replace('%',''),
+          ratio)
       i = 0
       x_data = []
       y_data = []




More information about the Erp5-report mailing list