| 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..71934c29ab11f09ba4b51f6db6f1cb405230e339 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,8 +115,7 @@ 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):
|
| @@ -130,13 +129,11 @@ class Colorize(object):
|
| 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)
|
|
|
|
|
|
|