diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-05-16 20:23:25 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-05-16 20:23:25 -0400 |
commit | af199e99549df07f9457567a26a0da8af069f513 (patch) | |
tree | 9b6c7e6e1c568a98dadde353700752017dbece34 | |
parent | a11c8eac4bf7e1b97f489395565d96076285617d (diff) | |
download | external_python_setuptools-af199e99549df07f9457567a26a0da8af069f513.tar.gz external_python_setuptools-af199e99549df07f9457567a26a0da8af069f513.tar.bz2 external_python_setuptools-af199e99549df07f9457567a26a0da8af069f513.zip |
Fix error in StaticModule implementation.
-rw-r--r-- | setuptools/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/config.py b/setuptools/config.py index b39ac718..45df2e3f 100644 --- a/setuptools/config.py +++ b/setuptools/config.py @@ -26,7 +26,7 @@ class StaticModule: Attempt to load the module by the name """ def __init__(self, name): - spec = importlib.util.find_spec(module_name) + spec = importlib.util.find_spec(name) with open(spec.origin) as strm: src = strm.read() module = ast.parse(src) |