py3 support errors
This commit is contained in:
		
							parent
							
								
									d218d92d2f
								
							
						
					
					
						commit
						a3242f2749
					
				@ -281,7 +281,7 @@ class NetworkedTests(unittest.TestCase):
 | 
				
			|||||||
                    count += 1
 | 
					                    count += 1
 | 
				
			||||||
                    s.do_handshake()
 | 
					                    s.do_handshake()
 | 
				
			||||||
                    break
 | 
					                    break
 | 
				
			||||||
                except ssl.SSLError, err:
 | 
					                except ssl.SSLError as err:
 | 
				
			||||||
                    if err.args[0] == ssl.SSL_ERROR_WANT_READ:
 | 
					                    if err.args[0] == ssl.SSL_ERROR_WANT_READ:
 | 
				
			||||||
                        while True:
 | 
					                        while True:
 | 
				
			||||||
                            to = s.get_timeout()
 | 
					                            to = s.get_timeout()
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user