diff options
author | Kari Salminen | 2007-07-15 09:52:08 +0000 |
---|---|---|
committer | Kari Salminen | 2007-07-15 09:52:08 +0000 |
commit | d725c5fab68e761784086631c16eac8a91eff41e (patch) | |
tree | dcfe53df936bd2a5d52068121ac2a73dea790f96 /tools/agi-palex.py | |
parent | 6376321e5a486fb6fba867e0e80205282826b806 (diff) | |
download | scummvm-rg350-d725c5fab68e761784086631c16eac8a91eff41e.tar.gz scummvm-rg350-d725c5fab68e761784086631c16eac8a91eff41e.tar.bz2 scummvm-rg350-d725c5fab68e761784086631c16eac8a91eff41e.zip |
Changed some additions to += as Python supports that operator (Didn't realize that before).
svn-id: r28096
Diffstat (limited to 'tools/agi-palex.py')
-rw-r--r-- | tools/agi-palex.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/agi-palex.py b/tools/agi-palex.py index 8a2408105e..58306dddbe 100644 --- a/tools/agi-palex.py +++ b/tools/agi-palex.py @@ -50,12 +50,12 @@ def printColor(color, tabulate = True, printLastComma = True, newLine = True): """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: |