diff options
author | kennytm <kennytm@gmail.com> | 2017-10-10 00:16:25 +0800 |
---|---|---|
committer | kennytm <kennytm@gmail.com> | 2017-10-10 00:27:23 +0800 |
commit | 380b7951acc658b8eded4cfd86f93133044102d8 (patch) | |
tree | c0dc683de72b75365e59d3c120a123c25fb217ca | |
parent | 743ff73e20848dc769ebface2b3164c33ded5bae (diff) | |
parent | 430e875b262b5e14870057004ea9abb4c3a9762d (diff) | |
download | rust-380b7951acc658b8eded4cfd86f93133044102d8.tar.gz |
Rollup merge of #45118 - johnthagen:fix-section-key-name, r=alexcrichton
Fix variable name reference
As best I can tell, this was a typo due to how similar it looks to the function above it. PyCharm found this as a unbound local variable.
-rwxr-xr-x | src/bootstrap/configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py index 176e9435528..669a5029302 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: |