flake8: apply E70x rule

This commit is contained in:
Yuming Zhu 2020-02-26 04:20:48 +08:00
parent 6dd77e0fa4
commit fa69c4904e
6 changed files with 41 additions and 21 deletions

View file

@ -2799,8 +2799,10 @@ def anon_handle_list_hosts(goptions, session, args):
hosts = [x[1] for x in tmp_list]
def yesno(x):
if x: return 'Y'
else: return 'N'
if x:
return 'Y'
else:
return 'N'
# pull in the last update using multicall to speed it up a bit
session.multicall = True