diff options
| author | johnthagen <johnthagen@gmail.com> | 2017-10-08 19:28:21 -0400 |
|---|---|---|
| committer | johnthagen <johnthagen@gmail.com> | 2017-10-08 19:28:21 -0400 |
| commit | dee517a286de6387ad75291f3f8068ada99f2a92 (patch) | |
| tree | db9b0c18c786e60d95f6bbe605f44604a9799775 /src | |
| parent | 650b1b1f3a41aa747da37dea3b32108b08146075 (diff) | |
| download | rust-dee517a286de6387ad75291f3f8068ada99f2a92.tar.gz rust-dee517a286de6387ad75291f3f8068ada99f2a92.zip | |
Fix trying to raise a bare str as an exception. This has been deprecated since Python 2.5
Diffstat (limited to 'src')
| -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 67337bf4421..176e9435528 100755 --- a/src/bootstrap/configure.py +++ b/src/bootstrap/configure.py @@ -360,7 +360,7 @@ def to_toml(value): elif isinstance(value, str): return "'" + value + "'" else: - raise 'no toml' + raise RuntimeError('no toml') def configure_section(lines, config): for key in config: |
