aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/config.py')
-rw-r--r--setuptools/config.py2
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)