summaryrefslogtreecommitdiff
path: root/setuptools/command/build_py.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-12-09 03:00:28 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-12-09 03:00:28 -0500
commit4e960934f61c50b98953d6cd12b72b30e85bccf3 (patch)
treee005459de599901e1acdddd346e33f0746c220c5 /setuptools/command/build_py.py
parenta0ad4c94c41a9af9f2479567139ba6489305b9cc (diff)
downloadpython-setuptools-git-4e960934f61c50b98953d6cd12b72b30e85bccf3.tar.gz
Prefer set to dict.fromkeys
Diffstat (limited to 'setuptools/command/build_py.py')
-rw-r--r--setuptools/command/build_py.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_py.py b/setuptools/command/build_py.py
index 5bbf0870..3ae331fd 100644
--- a/setuptools/command/build_py.py
+++ b/setuptools/command/build_py.py
@@ -187,7 +187,7 @@ class build_py(orig.build_py, Mixin2to3):
self.exclude_package_data.get('', [])
+ self.exclude_package_data.get(package, [])
)
- bad = dict.fromkeys(
+ bad = set(
item
for pattern in globs
for item in fnmatch.filter(