[hotfix] Fix master's linting (#5049)

The linting in CI on master always fail.
This commit is contained in:
Qing Wang 2019-06-27 20:21:32 +08:00 committed by GitHub
parent a1156754e9
commit d9768c1cd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -670,7 +670,9 @@ class StandardAutoscaler(object):
nodes = self.workers()
if nodes:
self.provider.terminate_nodes(nodes)
logger.error("StandardAutoscaler: terminated {} node(s)".format(len(nodes)))
logger.error(
"StandardAutoscaler: terminated {} node(s)".format(
len(nodes)))
except Exception:
traceback.print_exc()