Fix pylint issues

This commit is contained in:
Kristóf Tóth
2019-08-28 16:40:23 +02:00
parent c1df007d6c
commit 016130b081
7 changed files with 14 additions and 6 deletions

View File

@ -7,6 +7,7 @@ class DeployHandler:
keys = ['deploy.start', 'process.restart']
def __init__(self, process_name='webservice'):
self.connector = None
self.process_name = process_name
self.commands = {
@ -20,7 +21,7 @@ class DeployHandler:
except KeyError:
LOG.error('IGNORING MESSAGE: Invalid message received: %s', message)
def handle_deploy(self, message):
def handle_deploy(self, _):
self.connector.send_message({
'key': 'process.restart',
'name': self.process_name