forked from zaclys/searxng
		
	[pylint] Pylint 2.10 - unused-variable
Pylint 2.10 fixed [1]: Fixed bug with cell-var-from-loop checker: it no longer has false negatives when both unused-variable and used-before-assignment are disabled. [1] https://pylint.pycqa.org/en/latest/whatsnew/2.10.html Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									e856b563dd
								
							
						
					
					
						commit
						03e7d423be
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -172,7 +172,7 @@ async def stream_chunk_to_queue(network, queue, method, url, **kwargs):
 | 
			
		|||
            async for chunk in response.aiter_raw(65536):
 | 
			
		||||
                if len(chunk) > 0:
 | 
			
		||||
                    queue.put(chunk)
 | 
			
		||||
    except httpx.ResponseClosed as e:
 | 
			
		||||
    except httpx.ResponseClosed:
 | 
			
		||||
        # the response was closed
 | 
			
		||||
        pass
 | 
			
		||||
    except (httpx.HTTPError, OSError, h2.exceptions.ProtocolError) as e:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue