diff options
Diffstat (limited to 'Tools/Scripts/webkitpy/style/optparser.py')
-rw-r--r-- | Tools/Scripts/webkitpy/style/optparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/Scripts/webkitpy/style/optparser.py b/Tools/Scripts/webkitpy/style/optparser.py index f4e99237b..4b638c055 100644 --- a/Tools/Scripts/webkitpy/style/optparser.py +++ b/Tools/Scripts/webkitpy/style/optparser.py @@ -345,7 +345,7 @@ class ArgumentParser(object): # Override OptionParser's print_help() method so that help output # does not render to the screen while running unit tests. print_help = parser.print_help - parser.print_help = lambda: print_help(file=stderr) + parser.print_help = lambda file=stderr: print_help(file=file) return parser |