<gh_stars>1-10
import zope.component
import zope.interface

import zc.sourcefactory.interfaces

import zeit.cms.interfaces


@zope.component.adapter(zeit.cms.interfaces.ICMSContent)
@zope.interface.implementer(zc.sourcefactory.interfaces.IToken)
def fromCMSContent(value):
    return value.uniqueId

import zope.component
import zope.interface

import zc.sourcefactory.interfaces

import zeit.cms.interfaces


@zope.component.adapter(zeit.cms.interfaces.ICMSContent)
@zope.interface.implementer(zc.sourcefactory.interfaces.IToken)
def fromCMSContent(value):
    return value.uniqueId