diff options
author | Roland Walker <walker@pobox.com> | 2021-01-16 15:39:28 -0500 |
---|---|---|
committer | Roland Walker <walker@pobox.com> | 2021-01-16 15:39:28 -0500 |
commit | 685e5ba33b51c9fcdf42b2eeb875b9afac6b07ff (patch) | |
tree | dc71aba61bcd587133364dd95870fd16ca80f1d2 | |
parent | b1984e215132a34ab2e06799a16e8e511a55e51c (diff) |
fix printf-style format string
-rw-r--r-- | mycli/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mycli/config.py b/mycli/config.py index e0f2d1f..9c592fb 100644 --- a/mycli/config.py +++ b/mycli/config.py @@ -244,7 +244,7 @@ def str_to_bool(s): elif s.lower() in false_values: return False else: - raise ValueError('not a recognized boolean value: %s'.format(s)) + raise ValueError('not a recognized boolean value: {0}'.format(s)) def strip_matching_quotes(s): |