Commit 4e960934 authored by Jason R. Coombs's avatar Jason R. Coombs

Prefer set to dict.fromkeys

parent a0ad4c94
...@@ -187,7 +187,7 @@ class build_py(orig.build_py, Mixin2to3): ...@@ -187,7 +187,7 @@ class build_py(orig.build_py, Mixin2to3):
self.exclude_package_data.get('', []) self.exclude_package_data.get('', [])
+ self.exclude_package_data.get(package, []) + self.exclude_package_data.get(package, [])
) )
bad = dict.fromkeys( bad = set(
item item
for pattern in globs for pattern in globs
for item in fnmatch.filter( for item in fnmatch.filter(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment