| Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/main.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/main.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/main.py
|
| index 710a08e82c90502e8da63c6b3d49658c684e478c..d7c7aaa2cea923e37945de4bc8f4cd4466ab1acb 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/main.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/main.py
|
| @@ -39,7 +39,8 @@ from webkitpy.tool import commands
|
| class WebKitPatch(MultiCommandTool, Host):
|
| global_options = [
|
| make_option("-v", "--verbose", action="store_true", dest="verbose", default=False, help="enable all logging"),
|
| - make_option("-d", "--directory", action="append", dest="patch_directories", default=[], help="Directory to look at for changed files"),
|
| + make_option("-d", "--directory", action="append", dest="patch_directories",
|
| + default=[], help="Directory to look at for changed files"),
|
| ]
|
|
|
| def __init__(self, path):
|
| @@ -63,6 +64,7 @@ class WebKitPatch(MultiCommandTool, Host):
|
|
|
| def should_execute_command(self, command):
|
| if command.requires_local_commits and not self.scm().supports_local_commits():
|
| - failure_reason = "%s requires local commits using %s in %s." % (command.name, self.scm().display_name(), self.scm().checkout_root)
|
| + failure_reason = "%s requires local commits using %s in %s." % (
|
| + command.name, self.scm().display_name(), self.scm().checkout_root)
|
| return (False, failure_reason)
|
| return (True, None)
|
|
|