Ejemplo n.º 1
0
def getDraftContainer(principal, dct):
    space = IPersonalSpace(principal, None)
    if space is not None:
        wf = getAdapter(space, IContentWorkspaceFactory, 'content')
        if space.isEnabled(wf):
            ws = wf.install()
            return ws['draft']