[Scummvm-cvs-logs] SF.net SVN: scummvm: [28096] scummvm/trunk/tools/agi-palex.py

buddha_ at users.sourceforge.net buddha_ at users.sourceforge.net
Sun Jul 15 11:52:09 CEST 2007


Revision: 28096
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28096&view=rev
Author:   buddha_
Date:     2007-07-15 02:52:08 -0700 (Sun, 15 Jul 2007)

Log Message:
-----------
Changed some additions to += as Python supports that operator (Didn't realize that before).

Modified Paths:
--------------
    scummvm/trunk/tools/agi-palex.py

Modified: scummvm/trunk/tools/agi-palex.py
===================================================================
--- scummvm/trunk/tools/agi-palex.py	2007-07-15 06:24:39 UTC (rev 28095)
+++ scummvm/trunk/tools/agi-palex.py	2007-07-15 09:52:08 UTC (rev 28096)
@@ -50,12 +50,12 @@
 	"""Prints color with optional start tabulation, comma in the end and a newline"""
 	result = ""
 	if tabulate:
-		result = result + "\t"
+		result += "\t"
 	for component in color[:-1]:
-		result = result + ((componentPrintFormat + ", ") % component)
-	result = result + (componentPrintFormat % color[-1])
+		result += ((componentPrintFormat + ", ") % component)
+	result += (componentPrintFormat % color[-1])
 	if printLastComma:
-		result = result + ","
+		result += ","
 	if newLine:
 		print result
 	else:


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list