fix-deprecated-import.patch 395 B

12345678910
  1. diff --git a/python/google/__init__.py b/python/google/__init__.py
  2. index 5585614..69e3be5 100644
  3. --- a/python/google/__init__.py
  4. +++ b/python/google/__init__.py
  5. @@ -1,4 +1 @@
  6. -try:
  7. - __import__('pkg_resources').declare_namespace(__name__)
  8. -except ImportError:
  9. - __path__ = __import__('pkgutil').extend_path(__path__, __name__)
  10. +__path__ = __import__('pkgutil').extend_path(__path__, __name__)