mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 03:52:55 +00:00 
			
		
		
		
	Fix pylint issues
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user