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