def extract_archive(self, client, archive_path, extract_path=None):
        """Extract the archive files using the client in the current path."""
        try:
            out = ipa_utils.extract_archive(client, archive_path, extract_path)
        except Exception as error:
            raise IpaCloudException(
                'Failed to extract archive, "{0}": {1}.'.format(
                    archive_path, error
                )
            )

        else:
            self._write_to_log(out)
def extract_archive ( self , client , archive_path , extract_path = None ) : try : out = ipa_utils . extract_archive ( client , archive_path , extract_path ) except Exception as error : raise IpaCloudException ( 'Failed to extract archive, "{0}": {1}.' . format ( archive_path , error ) ) else : self . _write_to_log ( out )
Extract the archive files using the client in the current path.