def get_http_timeout(self): self.dllock.acquire() try: return DownloadConfigInterface.get_http_timeout(self) finally: self.dllock.release()