about summary refs log tree commit diff
diff options
context:
space:
mode:
authorjohnthagen <johnthagen@gmail.com>2017-10-08 19:36:37 -0400
committerjohnthagen <johnthagen@gmail.com>2017-10-08 19:36:37 -0400
commit430e875b262b5e14870057004ea9abb4c3a9762d (patch)
tree5ddd2e29ac0c99a9087239e3c31d42e8e1c576c7
parent650b1b1f3a41aa747da37dea3b32108b08146075 (diff)
downloadrust-430e875b262b5e14870057004ea9abb4c3a9762d.tar.gz
rust-430e875b262b5e14870057004ea9abb4c3a9762d.zip
Fix variable name reference
-rwxr-xr-xsrc/bootstrap/configure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py
index 67337bf4421..0a8e57e6225 100755
--- a/src/bootstrap/configure.py
+++ b/src/bootstrap/configure.py
@@ -378,7 +378,7 @@ def configure_section(lines, config):
 for section_key in config:
     section_config = config[section_key]
     if not section_key in sections:
-        raise RuntimeError("config key {} not in sections".format(key))
+        raise RuntimeError("config key {} not in sections".format(section_key))
 
     if section_key == 'target':
         for target in section_config: