From 2f4360a5961522997c71b0a85c098129cb2103d4 Mon Sep 17 00:00:00 2001 From: Richard Belleville Date: Fri, 5 Feb 2021 11:38:27 -0800 Subject: [PATCH] Remove unintentional additions --- third_party/BUILD | 1 - third_party/protobuf.patch | 14 -------------- 2 files changed, 15 deletions(-) delete mode 100644 third_party/protobuf.patch diff --git a/third_party/BUILD b/third_party/BUILD index 272d2396003..646875bc59e 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -11,5 +11,4 @@ exports_files([ "enum34.BUILD", "futures.BUILD", "libuv.BUILD", - "protobuf.patch", ]) diff --git a/third_party/protobuf.patch b/third_party/protobuf.patch deleted file mode 100644 index 0b302e4d812..00000000000 --- a/third_party/protobuf.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/python/google/protobuf/__init__.py b/python/google/protobuf/__init__.py -index 97ac28028..8b7585d9d 100644 ---- a/python/google/protobuf/__init__.py -+++ b/python/google/protobuf/__init__.py -@@ -31,3 +31,9 @@ - # Copyright 2007 Google Inc. All Rights Reserved. - - __version__ = '3.14.0' -+ -+if __name__ != '__main__': -+ try: -+ __import__('pkg_resources').declare_namespace(__name__) -+ except ImportError: -+ __path__ = __import__('pkgutil').extend_path(__path__, __name__)