fix flake8 error from removal of word Tower

This commit is contained in:
Alan Rominger 2017-07-06 09:55:52 -04:00 committed by AlanCoding
parent 178bcb02a7
commit c7fddc7ae7

View File

@ -191,9 +191,9 @@ def cluster_node_heartbeat(self):
continue
if Version(other_inst.version.split('-', 1)[0]) > Version(tower_application_version) and not settings.DEBUG:
logger.error("Host {} reports version {}, but this node {} is at {}, shutting down".format(other_inst.hostname,
other_inst.version,
inst.hostname,
inst.version))
other_inst.version,
inst.hostname,
inst.version))
stop_local_services(['uwsgi', 'celery', 'beat', 'callback', 'fact'])