aboutsummaryrefslogtreecommitdiff
path: root/patches/__init__.py.patch
blob: a49b52b58d5fd28f38c6200013d9b26e48f1f582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/generator/google/protobuf/__init__.py b/generator/google/protobuf/__init__.py
index 6210a40..82be65c 100644
--- a/generator/google/protobuf/__init__.py
+++ b/generator/google/protobuf/__init__.py
@@ -32,8 +32,3 @@
 
 __version__ = '3.0.0'
 
-if __name__ != '__main__':
-  try:
-    __import__('pkg_resources').declare_namespace(__name__)
-  except ImportError:
-    __path__ = __import__('pkgutil').extend_path(__path__, __name__)
-- 
2.18.0.345.g5c9ce644c3-goog