diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-26 12:49:54 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-02-26 12:49:54 -0500 |
| commit | 99f5ac503ab030c4622cbd8b5129e0880103a68f (patch) | |
| tree | 9bc980af26a9a13ed861be606231ade99f5c1ae4 /setuptools/command/easy_install.py | |
| parent | bbe8b50eccb5700c44bf793346dd09540bff97ee (diff) | |
| download | python-setuptools-git-99f5ac503ab030c4622cbd8b5129e0880103a68f.tar.gz | |
Remove 'isinstance(int)' check and just validate unconditionally.
Diffstat (limited to 'setuptools/command/easy_install.py')
| -rw-r--r-- | setuptools/command/easy_install.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index abf25eb9..e2a6543e 100644 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -369,9 +369,6 @@ class easy_install(Command): @staticmethod def _validate_optimize(value): - if isinstance(value, int): - return value - try: value = int(value) if value not in range(3): |
