Patchwork D2929: thirdparty: don't make zope a namespace package

login
register
mail settings
Submitter phabricator
Date March 30, 2018, 6:13 p.m.
Message ID <d1e5ac788e13fa5bea17f46db8c6fe52@localhost.localdomain>
Download mbox | patch
Permalink /patch/29974/
State Not Applicable
Headers show

Comments

phabricator - March 30, 2018, 6:13 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG338367d44d34: thirdparty: don&#039;t make zope a namespace package (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2929?vs=7242&id=7395

REVISION DETAIL
  https://phab.mercurial-scm.org/D2929

AFFECTED FILES
  mercurial/thirdparty/zope/__init__.py

CHANGE DETAILS




To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/mercurial/thirdparty/zope/__init__.py b/mercurial/thirdparty/zope/__init__.py
--- a/mercurial/thirdparty/zope/__init__.py
+++ b/mercurial/thirdparty/zope/__init__.py
@@ -1,7 +0,0 @@ 
-# this is a namespace package
-try:
-    import pkg_resources
-    pkg_resources.declare_namespace(__name__)
-except ImportError:
-    import pkgutil
-    __path__ = pkgutil.extend_path(__path__, __name__)