summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-02-06 11:29:10 -0500
committerJason R. Coombs <jaraco@jaraco.com>2022-02-06 13:38:37 -0500
commit282f2120979d0d97ae52feb557a19c094e548c87 (patch)
tree0f7b6101fc13189ed466bfc82e812ec41a5e33ef /setuptools/command/egg_info.py
parent867147f45c2b929f32b364284448b9d08c397dcb (diff)
downloadpython-setuptools-git-282f2120979d0d97ae52feb557a19c094e548c87.tar.gz
Remove duplicate check on ep is None.
Diffstat (limited to 'setuptools/command/egg_info.py')
-rw-r--r--setuptools/command/egg_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 17955207..439fe213 100644
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -720,7 +720,7 @@ def write_entries(cmd, basename, filename):
if isinstance(ep, str) or ep is None:
data = ep
- elif ep is not None:
+ else:
lines = []
for section, contents in sorted(ep.items()):
if not isinstance(contents, str):