def archive_delete(self):
        try:
            archive_id = self.cache.get_archive_id(
                self.args.vault, self.args.name)
        except __HOLE__:
            raise ConsoleError('archive %r not found' % self.args.name)
        vault = self.connection.get_vault(self.args.vault)
        vault.delete_archive(archive_id)
        self.cache.delete_archive(self.args.vault, self.args.name)
dataset/ETHPy150Open basak/glacier-cli/glacier.py/App.archive_delete