| Index: third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py b/third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py
|
| index 4330197859e8dd128c2d5e9383a357b12ebffd92..9bb01dcc0202b2a0a923288481964ef0a5e51d21 100755
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/bindings/print_idl_diff.py
|
| @@ -115,28 +115,25 @@ class Colorize(object):
|
| self.out = out
|
|
|
| def reset_color(self):
|
| - """Reset text's color to default.
|
| - """
|
| + """Reset text's color to default."""
|
| self.out.write('\033[0m')
|
|
|
| def change_color(self, color):
|
| """Change text's color by specifing arguments.
|
| Args:
|
| color: A new color to change. It should be one of |COLORS|.
|
| - """
|
| + """
|
| if color in self.COLORS:
|
| self.out.write('\033[' + str(color) + 'm')
|
| else:
|
| raise Exception('Unsupported color.')
|
|
|
| def writeln(self, string):
|
| - """Print text with a line-break.
|
| - """
|
| + """Print text with a line-break."""
|
| self.out.write(string + '\n')
|
|
|
| def write(self, string):
|
| - """Print text without a line-break.
|
| - """
|
| + """Print text without a line-break."""
|
| self.out.write(string)
|
|
|
|
|
|
|