diff options
author | Georgy Frolov <gosha@fro.lv> | 2021-01-17 00:45:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 00:45:25 +0300 |
commit | 53c83ce5376a962a19ab04c9457c28d6dac90d29 (patch) | |
tree | dc71aba61bcd587133364dd95870fd16ca80f1d2 | |
parent | b1984e215132a34ab2e06799a16e8e511a55e51c (diff) | |
parent | 685e5ba33b51c9fcdf42b2eeb875b9afac6b07ff (diff) |
Merge pull request #947 from dbcli/RW/printf-style-format-string
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): |