summaryrefslogtreecommitdiff
path: root/setuptools/namespaces.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-02-23 16:38:38 -0500
committerGitHub <noreply@github.com>2017-02-23 16:38:38 -0500
commitd2adf3daa1206b9950b5185fb0a56b6ea84658e3 (patch)
tree6dfa2e121cf70aca7b84cd9db79b9b0034d29a4b /setuptools/namespaces.py
parent05d47d9fc7a5d1509734a2205fd2c976d22996b1 (diff)
parent5c80844b0291ef2b326bcf8cf79e9a69dbd01a6b (diff)
downloadpython-setuptools-git-d2adf3daa1206b9950b5185fb0a56b6ea84658e3.tar.gz
Merge branch 'master' into feature/upload-infer-username
Diffstat (limited to 'setuptools/namespaces.py')
-rwxr-xr-xsetuptools/namespaces.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/namespaces.py b/setuptools/namespaces.py
index 556b5dd2..7c24a566 100755
--- a/setuptools/namespaces.py
+++ b/setuptools/namespaces.py
@@ -52,7 +52,7 @@ class Installer:
"importlib.util.module_from_spec("
"importlib.machinery.PathFinder.find_spec(%(pkg)r, "
"[os.path.dirname(p)])))",
- "m = m or not has_mfs and "
+ "m = m or "
"sys.modules.setdefault(%(pkg)r, types.ModuleType(%(pkg)r))",
"mp = (m or []) and m.__dict__.setdefault('__path__',[])",
"(p not in mp) and mp.append(p)",