Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1006)

Unified Diff: third_party/grpc/src/python/grpcio/grpc/framework/base/exceptions.py

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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."""

Powered by Google App Engine
This is Rietveld 408576698