<commit_before># Copyright (c) 2007-2008 gocept gmbh & co. kg
# See also LICENSE.txt
# $Id$
"""Workflow interfaces."""

import zope.interface
import zope.schema

import zope.app.security.vocabulary

import zeit.workflow.source
from zeit.cms.i18n import MessageFactory as _


class IPublishInfo(zope.interface.Interface):
    """Information about published objects."""

    published = zope.schema.Bool(
        title=_('Published'),
        readonly=True)

    date_last_modified = zope.schema.Datetime(
        title=_('Date last modified'),
        required=False,
        readonly=True)

    last_modified_by = zope.schema.Choice(
        title=_('Last modified by'),
        required=False,
        readonly=True,
        source=zope.app.security.vocabulary.PrincipalSource())


    date_first_released = zope.schema.Datetime(
        title=_('Date first released'),
        required=False,
        readonly=True)
<commit_msg>whitespace<commit_after># Copyright (c) 2007-2008 gocept gmbh & co. kg
# See also LICENSE.txt
# $Id$
"""Workflow interfaces."""

import zope.interface
import zope.schema

import zope.app.security.vocabulary

import zeit.workflow.source
from zeit.cms.i18n import MessageFactory as _


class IPublishInfo(zope.interface.Interface):
    """Information about published objects."""

    published = zope.schema.Bool(
        title=_('Published'),
        readonly=True)

    date_last_modified = zope.schema.Datetime(
        title=_('Date last modified'),
        required=False,
        readonly=True)

    last_modified_by = zope.schema.Choice(
        title=_('Last modified by'),
        required=False,
        readonly=True,
        source=zope.app.security.vocabulary.PrincipalSource())

    date_first_released = zope.schema.Datetime(
        title=_('Date first released'),
        required=False,
        readonly=True)

{'fraction_non_alphanumeric': 0.11206896551724138, 'fraction_numerical': 0.010775862068965518, 'mean_word_length': 3.2013574660633486, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4993815', 'n_tokens_mistral': 580, 'n_tokens_neox': 550, 'n_words': 118}