mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-04 05:53:13 +00:00
test.py: comparison to False should be 'if cond is False:'
This commit is contained in:
committed by
Konstantin Osipov
parent
737b1cff5e
commit
5bdc0386c4
2
test.py
2
test.py
@@ -193,7 +193,7 @@ def print_progress(test, success, cookie, verbose):
|
||||
|
||||
last_len, n, n_total = cookie
|
||||
msg = "[{}/{}] {} {} {}".format(n, n_total, status_to_string(success), test.path, ' '.join(test.args))
|
||||
if verbose == False and sys.stdout.isatty():
|
||||
if verbose is False and sys.stdout.isatty():
|
||||
print('\r' + ' ' * last_len, end='')
|
||||
last_len = len(msg)
|
||||
print('\r' + msg, end='')
|
||||
|
||||
Reference in New Issue
Block a user