| Index: mojo/devtools/common/devtoolslib/linux_shell.py
|
| diff --git a/mojo/devtools/common/devtoolslib/linux_shell.py b/mojo/devtools/common/devtoolslib/linux_shell.py
|
| index d37c46fa7bc8b2029f7682edcd5b803ea16004ef..d7c3bad52bea44f3a6780a28b8b99f87b42d98ee 100644
|
| --- a/mojo/devtools/common/devtoolslib/linux_shell.py
|
| +++ b/mojo/devtools/common/devtoolslib/linux_shell.py
|
| @@ -24,25 +24,25 @@ class LinuxShell(Shell):
|
| self.command_prefix = command_prefix if command_prefix else []
|
|
|
| @overrides(Shell)
|
| - def ServeLocalDirectory(self, local_dir_path, port=0):
|
| + def serve_local_directory(self, local_dir_path, port=0):
|
| mappings = [('', local_dir_path)]
|
| return 'http://%s:%d/' % http_server.start_http_server(mappings, port)
|
|
|
| @overrides(Shell)
|
| - def ServeLocalDirectories(self, mappings, port=0):
|
| + def serve_local_directories(self, mappings, port=0):
|
| return 'http://%s:%d/' % http_server.start_http_server(mappings, port)
|
|
|
| @overrides(Shell)
|
| - def ForwardHostPortToShell(self, host_port):
|
| + def forward_host_port_to_shell(self, host_port):
|
| pass
|
|
|
| @overrides(Shell)
|
| - def Run(self, arguments):
|
| + def run(self, arguments):
|
| command = self.command_prefix + [self.executable_path] + arguments
|
| return subprocess.call(command, stderr=subprocess.STDOUT)
|
|
|
| @overrides(Shell)
|
| - def RunAndGetOutput(self, arguments, timeout=None):
|
| + def run_and_get_output(self, arguments, timeout=None):
|
| command = self.command_prefix + [self.executable_path] + arguments
|
| p = subprocess.Popen(command, stdout=subprocess.PIPE,
|
| stderr=subprocess.STDOUT)
|
|
|