summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorMelissa Li <li.melissa.kun@gmail.com>2021-03-02 20:13:06 -0500
committerMelissa Li <li.melissa.kun@gmail.com>2021-03-02 21:13:28 -0500
commitd027d6d2140daf87079dd3bd186585a5b063269e (patch)
treed1ef29ca7212e756a5bc8f7dd0cd5a5cd4666862 /setuptools/command
parenta2e9ae4cb75f9b00ddf37713ec307e5f00869737 (diff)
downloadpython-setuptools-git-d027d6d2140daf87079dd3bd186585a5b063269e.tar.gz
Modify existing tests to be compatible with future underscore change
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index eeb21b50..0917804f 100644
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -1190,7 +1190,7 @@ class easy_install(Command):
for key, val in ei_opts.items():
if key not in fetch_directives:
continue
- fetch_options[key.replace('_', '-')] = val[1]
+ fetch_options[key] = val[1]
# create a settings dictionary suitable for `edit_config`
settings = dict(easy_install=fetch_options)
cfg_filename = os.path.join(base, 'setup.cfg')