Index: third_party/grpc/src/python/grpcio/grpc/framework/base/exceptions.py |
diff --git a/third_party/WebKit/Tools/Scripts/print-layout-test-types b/third_party/grpc/src/python/grpcio/grpc/framework/base/exceptions.py |
old mode 100755 |
new mode 100644 |
similarity index 86% |
copy from third_party/WebKit/Tools/Scripts/print-layout-test-types |
copy to third_party/grpc/src/python/grpcio/grpc/framework/base/exceptions.py |
index 3cc36c64bb26ebaf0e173e0dad4ce8c9b0b1cd52..b8f4752184775b877967ca79cd9d490998abfb2c |
--- a/third_party/WebKit/Tools/Scripts/print-layout-test-types |
+++ b/third_party/grpc/src/python/grpcio/grpc/framework/base/exceptions.py |
@@ -1,6 +1,5 @@ |
-#!/usr/bin/python |
-# |
-# Copyright (C) 2013 Google Inc. All rights reserved. |
+# Copyright 2015, Google Inc. |
+# All rights reserved. |
# |
# Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are |
@@ -28,9 +27,8 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-import sys |
+"""Exceptions defined and used by the base layer of RPC Framework.""" |
-from webkitpy.common import host |
-from webkitpy.layout_tests import print_layout_test_types |
-print_layout_test_types.main(host.Host(), sys.argv[1:]) |
+class NoSuchMethodError(Exception): |
+ """Indicates that an operation with an unrecognized name has been called.""" |