mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 19:21:01 +00:00
When we use str.format() to pass variables on the message it will always causes Exception like "KeyError: 'red'", since the message contains color variables but it's not passed to str.format(). To avoid the error we need to pass all format variables to colorprint() and run str.format() inside the function. Fixes #3649 Signed-off-by: Takuya ASADA <syuu@scylladb.com> Message-Id: <20180803015216.14328-1-syuu@scylladb.com>