Index: third_party/grpc/src/python/grpcio/grpc/framework/base/__init__.py |
diff --git a/third_party/protobuf/python/google/protobuf/__init__.py b/third_party/grpc/src/python/grpcio/grpc/framework/base/__init__.py |
old mode 100755 |
new mode 100644 |
similarity index 81% |
copy from third_party/protobuf/python/google/protobuf/__init__.py |
copy to third_party/grpc/src/python/grpcio/grpc/framework/base/__init__.py |
index 533821c16a3a4e39005ed2d44d9abf24cb864d1a..bff74be2c7bbc79e3e32103436c9fbd708bf2c03 |
--- a/third_party/protobuf/python/google/protobuf/__init__.py |
+++ b/third_party/grpc/src/python/grpcio/grpc/framework/base/__init__.py |
@@ -1,6 +1,5 @@ |
-# Protocol Buffers - Google's data interchange format |
-# Copyright 2008 Google Inc. All rights reserved. |
-# https://developers.google.com/protocol-buffers/ |
+# 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,6 +27,9 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-# Copyright 2007 Google Inc. All Rights Reserved. |
+import warnings |
-__version__ = '3.0.0b2' |
+warnings.simplefilter('always', DeprecationWarning) |
+warnings.warn('the alpha API (includes this package) is deprecated, ' |
+ 'unmaintained, and no longer tested. Please migrate to the beta ' |
+ 'API.', DeprecationWarning, stacklevel=2) |