should work now. wed plz test
This commit is contained in:
		
							parent
							
								
									4883838758
								
							
						
					
					
						commit
						6a1db9ea0f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -46,7 +46,7 @@ def temp_failure_retry(func, *args, **kwargs):
 | 
				
			||||||
            if hasattr(ex, 'errno'):
 | 
					            if hasattr(ex, 'errno'):
 | 
				
			||||||
            	errnum = ex.errno
 | 
					            	errnum = ex.errno
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
            	errnum = int(str(ex)[0])
 | 
					            	errnum = ex.args[0]
 | 
				
			||||||
            if errnum == errno.EINTR:
 | 
					            if errnum == errno.EINTR:
 | 
				
			||||||
                continue
 | 
					                continue
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue