flake8: apply E3 rules

This commit is contained in:
Yuming Zhu 2020-02-26 02:31:31 +08:00
parent 05340b146b
commit 0f727a2ab4
32 changed files with 534 additions and 70 deletions

View file

@ -105,6 +105,7 @@ Available categories are: %(categories)s
def get_usage_str(usage):
return usage + _("\n(Specify the --help global option for a list of other help options)")
def ensure_connection(session):
try:
ret = session.getAPIVersion()
@ -380,7 +381,6 @@ def watch_logs(session, tasklist, opts, poll_interval):
lastlog = currlog
bytes_to_stdout(contents)
if opts.follow:
for child in session.getTaskChildren(task_id):
if child['id'] not in tasklist: