

def _end_creativecommons_license(self):
    value = self.pop('license')
    context = self._getContext()
    attrsD = FeedParserDict()
    attrsD['rel'] = 'license'
    if value:
        attrsD['href'] = value
    context.setdefault('links', []).append(attrsD)
    del context['license']

dataset/ETHPy150Open SickRage/SickRage/lib/feedparser/namespaces/cc.py Namespace._end_creativecommons_license/original