libkas: Remove redundant local var initialization
retc is already initialized via loop.run_until_complete(). Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		
				
					committed by
					
						
						Daniel Wagner
					
				
			
			
				
	
			
			
			
						parent
						
							9a300046e6
						
					
				
				
					commit
					40ddeafa22
				
			@@ -119,7 +119,6 @@ def run_cmd(cmd, cwd, env=None, fail=True, shell=False, liveupdate=True):
 | 
			
		||||
    # pylint: disable=too-many-arguments
 | 
			
		||||
 | 
			
		||||
    env = env or {}
 | 
			
		||||
    retc = 0
 | 
			
		||||
    cmdstr = cmd
 | 
			
		||||
    if not shell:
 | 
			
		||||
        cmdstr = ' '.join(cmd)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user