def extract_archive(self, client, archive_path, extract_path=None):
try:<EOL><INDENT>out = ipa_utils.extract_archive(client, archive_path, extract_path)<EOL><DEDENT>except Exception as error:<EOL><INDENT>raise IpaCloudException(<EOL>'<STR_LIT>'.format(<EOL>archive_path, error<EOL>)<EOL>)<EOL><DEDENT>else:<EOL><INDENT>self._write_to_log(out)<EOL><DEDENT>
Extract the archive files using the client in the current path.