| Index: third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py
|
| index a9264ebf8a122cd349bcaa7d34ab977226db0ddf..5a2896b480b334f0ceed4d06fbd653df4e7e6139 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/command.py
|
| @@ -47,7 +47,6 @@ class Command(object):
|
| self.required_arguments = self._parse_required_arguments(self.argument_names)
|
| self.options = options
|
| self.requires_local_commits = requires_local_commits
|
| - self._tool = None
|
| # option_parser can be overridden by the tool using set_option_parser
|
| # This default parser will be used for standalone_help printing.
|
| self.option_parser = HelpPrintingOptionParser(
|
| @@ -70,13 +69,6 @@ class Command(object):
|
| for option in options:
|
| self.option_parser.add_option(option)
|
|
|
| - # The tool calls bind_to_tool on each Command after adding it to its list.
|
| - def bind_to_tool(self, tool):
|
| - # Command instances can only be bound to one tool at a time.
|
| - if self._tool and tool != self._tool:
|
| - raise Exception("Command already bound to tool!")
|
| - self._tool = tool
|
| -
|
| @staticmethod
|
| def _parse_required_arguments(argument_names):
|
| required_args = []
|
|
|