diff options
| author | Frédéric Chapoton <fchapoton2@gmail.com> | 2019-03-06 15:22:28 +0100 |
|---|---|---|
| committer | Paul Ganssle <pganssle@users.noreply.github.com> | 2019-03-06 09:22:28 -0500 |
| commit | 16e452a42a3dbbb0ab3d3146ffa3b743cdca2539 (patch) | |
| tree | 62f37a075e15b99654b75146d22186bf136eb1af | |
| parent | 0483cca44855280d25e7798680bb520da8923e16 (diff) | |
| download | python-setuptools-git-16e452a42a3dbbb0ab3d3146ffa3b743cdca2539.tar.gz | |
Remove duplicate import io (#1713)
Found by lgtm
| -rw-r--r-- | setuptools/dist.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py index ddb1787a..6233d5dc 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -1103,7 +1103,6 @@ class Distribution(_Distribution): return _Distribution.handle_display_options(self, option_order) # Stdout may be StringIO (e.g. in tests) - import io if not isinstance(sys.stdout, io.TextIOWrapper): return _Distribution.handle_display_options(self, option_order) |
