diff options
author | yutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-26 04:49:05 +0000 |
---|---|---|
committer | yutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-26 04:49:05 +0000 |
commit | 4a57210f0afc31bee701ebe3c5c9b6e82a39572e (patch) | |
tree | 420cb9353c27c8a5db4d6c85f6234a975810fe42 /webkit | |
parent | 2501d723f2d7dfac9bfc9cdebfb537c9a7869b23 (diff) | |
download | chromium_src-4a57210f0afc31bee701ebe3c5c9b6e82a39572e.zip chromium_src-4a57210f0afc31bee701ebe3c5c9b6e82a39572e.tar.gz chromium_src-4a57210f0afc31bee701ebe3c5c9b6e82a39572e.tar.bz2 |
Fix runtime error in http_server.py.
BUG=none
TEST=Run src/webkit/tools/layout_tests/layout_package/http_server.sh without
arguments, and observe the process exits gracefully (does not print traceback).
Review URL: http://codereview.chromium.org/435042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33175 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rwxr-xr-x | webkit/tools/layout_tests/layout_package/http_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/layout_tests/layout_package/http_server.py b/webkit/tools/layout_tests/layout_package/http_server.py index 527d07a..be09331 100755 --- a/webkit/tools/layout_tests/layout_package/http_server.py +++ b/webkit/tools/layout_tests/layout_package/http_server.py @@ -263,8 +263,8 @@ if '__main__' == __name__: options, args = option_parser.parse_args() if not options.server: - print 'Usage: %s --server {start|stop} [--root=root_dir]' - print ' [--port=port_number]' % sys.argv[0] + print ('Usage: %s --server {start|stop} [--root=root_dir]' + ' [--port=port_number]' % sys.argv[0]) else: if (options.root is None) and (options.port is not None): # specifying root but not port means we want httpd on default set of |