mirror of
				https://github.com/simon987/od-database.git
				synced 2025-11-04 06:56:52 +00:00 
			
		
		
		
	removed debug lines
This commit is contained in:
		
							parent
							
								
									d42be56dee
								
							
						
					
					
						commit
						54b4d2d5b4
					
				@ -197,10 +197,9 @@ class HttpDirectory(RemoteDirectory):
 | 
			
		||||
                    mtime=int(parse_date(date).timestamp()),
 | 
			
		||||
                    is_dir=False
 | 
			
		||||
                )
 | 
			
		||||
            except pycurl.error as e:
 | 
			
		||||
            except pycurl.error:
 | 
			
		||||
                curl.close()
 | 
			
		||||
                retries -= 1
 | 
			
		||||
                raise e
 | 
			
		||||
 | 
			
		||||
        logger.debug("TimeoutError - _request_file")
 | 
			
		||||
        raise TimeoutError
 | 
			
		||||
@ -215,11 +214,9 @@ class HttpDirectory(RemoteDirectory):
 | 
			
		||||
                self.curl.perform()
 | 
			
		||||
 | 
			
		||||
                return content.getvalue().decode("utf-8", errors="ignore")
 | 
			
		||||
            except pycurl.error as e:
 | 
			
		||||
            except pycurl.error:
 | 
			
		||||
                self.curl.close()
 | 
			
		||||
                retries -= 1
 | 
			
		||||
                print(e)
 | 
			
		||||
                raise e
 | 
			
		||||
 | 
			
		||||
        logger.debug("TimeoutError - _fetch_body")
 | 
			
		||||
        raise TimeoutError
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user