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