diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-06 11:29:10 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-06 13:38:37 -0500 |
commit | 282f2120979d0d97ae52feb557a19c094e548c87 (patch) | |
tree | 0f7b6101fc13189ed466bfc82e812ec41a5e33ef /setuptools/command/egg_info.py | |
parent | 867147f45c2b929f32b364284448b9d08c397dcb (diff) | |
download | python-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.py | 2 |
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): |