Typo in pypi-extract-universal.py
oops! has_option looks for "bdist_wheel" and then tries to fetch using "wheel" in getboolean in change id: I519acfc3080938fe0445705fc98df12201036c30 Change-Id: I68b0cd547caf0c9161c983e7dc0f2259a96af762
This commit is contained in:
parent
4e87af5190
commit
07c5940e52
@ -21,7 +21,7 @@ universal = False
|
|||||||
setup_cfg = ConfigParser.SafeConfigParser()
|
setup_cfg = ConfigParser.SafeConfigParser()
|
||||||
setup_cfg.read("setup.cfg")
|
setup_cfg.read("setup.cfg")
|
||||||
if setup_cfg.has_option("bdist_wheel", "universal"):
|
if setup_cfg.has_option("bdist_wheel", "universal"):
|
||||||
universal = setup_cfg.getboolean("wheel", "universal")
|
universal = setup_cfg.getboolean("bdist_wheel", "universal")
|
||||||
elif setup_cfg.has_option("wheel", "universal"):
|
elif setup_cfg.has_option("wheel", "universal"):
|
||||||
universal = setup_cfg.getboolean("wheel", "universal")
|
universal = setup_cfg.getboolean("wheel", "universal")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user