[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13171] branches/blender2.5/blender/tools/ Blender.py: * apply patch #8020 by Thomas Knight (epat)

Nathan Letwory jesterking at letwory.net
Tue Jan 8 17:56:02 CET 2008


Revision: 13171
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13171
Author:   jesterking
Date:     2008-01-08 17:56:00 +0100 (Tue, 08 Jan 2008)

Log Message:
-----------
* apply patch #8020 by Thomas Knight (epat)
	Just colours the last speech mark the same as the first when printing status messages about compiling files and so on. Old behaviour was to 
colour it the same as the file name itself.

Modified Paths:
--------------
    branches/blender2.5/blender/tools/Blender.py

Modified: branches/blender2.5/blender/tools/Blender.py
===================================================================
--- branches/blender2.5/blender/tools/Blender.py	2008-01-08 16:17:26 UTC (rev 13170)
+++ branches/blender2.5/blender/tools/Blender.py	2008-01-08 16:56:00 UTC (rev 13171)
@@ -222,22 +222,21 @@
 def my_compile_print(target, source, env):
     a = '%s' % (source[0])
     d, f = os.path.split(a)
-    return bc.OKBLUE+"Compiling"+bc.ENDC +" ==> '"+bc.OKGREEN+"%s" % (f) + "'"+bc.ENDC
-
+    return bc.OKBLUE+"Compiling"+bc.ENDC +" ==> '"+bc.OKGREEN+"%s" % (f) + bc.ENDC + "'"
 def my_moc_print(target, source, env):
     a = '%s' % (source[0])
     d, f = os.path.split(a)
-    return bc.OKBLUE+"Creating MOC"+bc.ENDC+ " ==> '"+bc.OKGREEN+"%s" %(f) + "'"+bc.ENDC
+    return bc.OKBLUE+"Creating MOC"+bc.ENDC+ " ==> '"+bc.OKGREEN+"%s" %(f) + bc.ENDC+ "'"
 
 def my_linking_print(target, source, env):
     t = '%s' % (target[0])
     d, f = os.path.split(t)
-    return bc.OKBLUE+"Linking library"+bc.ENDC +" ==> '"+bc.OKGREEN+"%s" % (f) + "'"+bc.ENDC
+    return bc.OKBLUE+"Linking library"+bc.ENDC +" ==> '"+bc.OKGREEN+"%s" % (f) + bc.ENDC+ "'"
 
 def my_program_print(target, source, env):
     t = '%s' % (target[0])
     d, f = os.path.split(t)
-    return bc.OKBLUE+"Linking program"+bc.ENDC +" ==> '"+bc.OKGREEN+"%s" % (f) + "'"+bc.ENDC
+    return bc.OKBLUE+"Linking program"+bc.ENDC +" ==> '"+bc.OKGREEN+"%s" % (f) + bc.ENDC + "'"
 
 def msvc_hack(env):
     static_lib = SCons.Tool.createStaticLibBuilder(env)





More information about the Bf-blender-cvs mailing list