Remove unused variable
This commit is contained in:
		
					parent
					
						
							
								13876c24c1
							
						
					
				
			
			
				commit
				
					
						e66e8202db
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -141,8 +141,7 @@ def ping_ok(host_ipv6): | |||
|     :return True if the host responds to ping else returns False | ||||
|     """ | ||||
|     try: | ||||
|         output = subprocess.check_output("ping6 -c 1 -w 2 " + host_ipv6, | ||||
|                                          shell=True) | ||||
|         subprocess.check_output("ping6 -c 1 -w 2 " + host_ipv6, shell=True) | ||||
|     except Exception as ex: | ||||
|         logger.debug(host_ipv6 + " not reachable via ping. Error = " + str(ex)) | ||||
|         return False | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue