All pastes #535281 Raw Edit

drcode

public text v1 · immutable
·published 2007-06-04 01:37 UTC
rendered paste body
ArchGenXML Version 1.5.2
(c) 2003-2006 BlueDynamics, Austria, GNU General Public License 2.0 or later
INFO  Parsing...
INFO  Directory in which we're generating the files: ''.
INFO  Generating...
WARNING Can't build i18n message catalog. Module 'i18ndude' not found.
WARNING Can't strip html from doc-strings. Module 'stripogram' not found.
INFO  Starting new Product: 'untitledModel'.
INFO      Generating class 'Person'.
INFO      Generating class '127-0-0-1-6a1c6ac1:112f33b95c9:-8000:000000000000077E'.
INFO  # -*- coding: utf-8 -*-
#
# File: 127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E.py
#
# Copyright (c) 2007 by []
# Generator: ArchGenXML Version 1.5.2
#            http://plone.org/products/archgenxml
#
# GNU General Public License (GPL)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
#

__author__ = """unknown <unknown>"""
__docformat__ = 'plaintext'

from AccessControl import ClassSecurityInfo
from Products.Archetypes.atapi import *
from Products.untitledModel.config import *

##code-section module-header #fill in your manual code here
##/code-section module-header

schema = Schema((

),
)

##code-section after-local-schema #fill in your manual code here
##/code-section after-local-schema

127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E_schema = BaseSchema.copy() + \
    schema.copy()

##code-section after-schema #fill in your manual code here
##/code-section after-schema

class 127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E(BaseContent):
    """
    """
    security = ClassSecurityInfo()
    __implements__ = (getattr(BaseContent,'__implements__',()),)

    # This name appears in the 'add' box
    archetype_name = '127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E'

    meta_type = '127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E'
    portal_type = '127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E'
    allowed_content_types = []
    filter_content_types = 0
    global_allow = 1
    #content_icon = '127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E.gif'
    immediate_view = 'base_view'
    default_view = 'base_view'
    suppl_views = ()
    typeDescription = "127-0-0-1-6a1c6ac1:112f33b95c9:-8000:000000000000077E"
    typeDescMsgId = 'description_edit_127-0-0-1-6a1c6ac1:112f33b95c9:-8000:000000000000077e'

    _at_rename_after_creation = True

    schema = 127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E_schema

    ##code-section class-header #fill in your manual code here
    ##/code-section class-header

    # Methods

registerType(127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E, PROJECTNAME)
# end of class 127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E

##code-section module-footer #fill in your manual code here
##/code-section module-footer



CRITICAL There's something wrong with the python code we're about to write to disk. Perhaps a faulty tagged value or a genuine bug in parsing the previous version of the file. The filename is 'untitledModel/127_0_0_1_6a1c6ac1_112f33b95c9__8000_000000000000077E.py'. For easy debugging, the file is printed above.