diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-17 19:26:30 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-17 19:26:30 -0400 |
| commit | 59003e44f1c75df5ebd6d8fd5cb065385f98affc (patch) | |
| tree | 5b8d49ac00db5e58996aa70899632979eb17dd1f /setuptools/command | |
| parent | 36cc4f39f165dd25405cb0615008bb1aa291a9e3 (diff) | |
| download | python-setuptools-bitbucket-59003e44f1c75df5ebd6d8fd5cb065385f98affc.tar.gz | |
Restore Python 2 compatibility.
Diffstat (limited to 'setuptools/command')
| -rwxr-xr-x | 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 470ba466..9019524d 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -364,7 +364,7 @@ def _write_requirements(stream, reqs): def write_requirements(cmd, basename, filename): dist = cmd.distribution - data = io.StringIO() + data = io.StringIO() if PY3 else io.BytesIO() _write_requirements(data, dist.install_requires) extras_require = dist.extras_require or {} for extra in sorted(extras_require): |
