From 282f2120979d0d97ae52feb557a19c094e548c87 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 6 Feb 2022 11:29:10 -0500 Subject: Remove duplicate check on ep is None. --- setuptools/command/egg_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command') 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): -- cgit v1.2.1