mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-11-04 11:12:15 +01:00 
			
		
		
		
	Fixed one more warning.
This commit is contained in:
		@@ -706,7 +706,6 @@ class SSH2(object):  # pylint: disable=too-few-public-methods
 | 
				
			|||||||
						smallest_modulus = kex_group.get_dh_modulus_size()
 | 
											smallest_modulus = kex_group.get_dh_modulus_size()
 | 
				
			||||||
					except Exception: # pylint: disable=bare-except
 | 
										except Exception: # pylint: disable=bare-except
 | 
				
			||||||
						x = 1 # pylint: disable=unused-variable
 | 
											x = 1 # pylint: disable=unused-variable
 | 
				
			||||||
						pass
 | 
					 | 
				
			||||||
					finally:
 | 
										finally:
 | 
				
			||||||
						s.close()
 | 
											s.close()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -729,7 +728,6 @@ class SSH2(object):  # pylint: disable=too-few-public-methods
 | 
				
			|||||||
							smallest_modulus = kex_group.get_dh_modulus_size()
 | 
												smallest_modulus = kex_group.get_dh_modulus_size()
 | 
				
			||||||
						except Exception: # pylint: disable=bare-except
 | 
											except Exception: # pylint: disable=bare-except
 | 
				
			||||||
							x = 1 # pylint: disable=unused-variable
 | 
												x = 1 # pylint: disable=unused-variable
 | 
				
			||||||
							pass
 | 
					 | 
				
			||||||
						finally:
 | 
											finally:
 | 
				
			||||||
							# The server is in a state that is not re-testable,
 | 
												# The server is in a state that is not re-testable,
 | 
				
			||||||
							# so there's nothing else to do with this open
 | 
												# so there's nothing else to do with this open
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user