[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55099] trunk/lib/tests/rendering/cycles/ render_test_files.py: Cycles test rendering script:

Thomas Dinges blender at dingto.org
Thu Mar 7 22:08:45 CET 2013


Revision: 55099
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55099
Author:   dingto
Date:     2013-03-07 21:08:44 +0000 (Thu, 07 Mar 2013)
Log Message:
-----------
Cycles test rendering script:
* Script failed to execute on Linux and Windows, stringify the path for the logfile now to fix it.  

Modified Paths:
--------------
    trunk/lib/tests/rendering/cycles/render_test_files.py

Modified: trunk/lib/tests/rendering/cycles/render_test_files.py
===================================================================
--- trunk/lib/tests/rendering/cycles/render_test_files.py	2013-03-07 19:16:02 UTC (rev 55098)
+++ trunk/lib/tests/rendering/cycles/render_test_files.py	2013-03-07 21:08:44 UTC (rev 55099)
@@ -52,7 +52,7 @@
 # Execute command while printing and logging it
 def execute_command(command, logfile):
     p = subprocess.Popen(command.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE)
-    log = open(logfile, "w")
+    log = open(str(logfile), "w")
     log.write(command + "\n\n")
 
     maxlen = 10




More information about the Bf-blender-cvs mailing list