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