def _fetch_commit(self):
    '\n        Fetch the commit data from dlrn\n        '
    full_url = os.path.join(self.url, self._link_name, 'commit.yaml')
    data = _fetch_yaml(full_url, self._logger)
    if ((data is not None) and ('commits' in data)):
        pkg = data['commits'][0]
        if (pkg['status'] == 'SUCCESS'):
            self._commit_data = {'name': pkg['project_name'], 'dist_hash': pkg['distro_hash'], 'commit_hash': pkg['commit_hash'], 'extended_hash': pkg.get('extended_hash')}
        else:
            msg = '{0} has a status of error'.format(str(pkg))
            self._logger.warning(msg)
Fetch the commit data from dlrn
def _fetch_commit(self):
    '\n        \n        '
    full_url = os.path.join(self.url, self._link_name, 'commit.yaml')
    data = _fetch_yaml(full_url, self._logger)
    if ((data is not None) and ('commits' in data)):
        pkg = data['commits'][0]
        if (pkg['status'] == 'SUCCESS'):
            self._commit_data = {'name': pkg['project_name'], 'dist_hash': pkg['distro_hash'], 'commit_hash': pkg['commit_hash'], 'extended_hash': pkg.get('extended_hash')}
        else:
            msg = '{0} has a status of error'.format(str(pkg))
            self._logger.warning(msg)