schema.py
changeset 6949 267ce7cf77f1
parent 6944 0cf10429ad39
child 6951 cb6314b09e0f
equal deleted inserted replaced
6948:013f81b729de 6949:267ce7cf77f1
     1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    81 WORKFLOW_TYPES = set(('Transition', 'State', 'TrInfo', 'Workflow',
    81 WORKFLOW_TYPES = set(('Transition', 'State', 'TrInfo', 'Workflow',
    82                       'WorkflowTransition', 'BaseTransition',
    82                       'WorkflowTransition', 'BaseTransition',
    83                       'SubWorkflowExitPoint'))
    83                       'SubWorkflowExitPoint'))
    84 
    84 
    85 INTERNAL_TYPES = set(('CWProperty', 'CWPermission', 'CWCache', 'ExternalUri',
    85 INTERNAL_TYPES = set(('CWProperty', 'CWPermission', 'CWCache', 'ExternalUri',
    86                       'CWSource', 'CWSourceHostConfig',
    86                       'CWSource', 'CWSourceHostConfig', 'CWSourceSchemaConfig'))
    87 ))
       
    88 
    87 
    89 
    88 
    90 _LOGGER = getLogger('cubicweb.schemaloader')
    89 _LOGGER = getLogger('cubicweb.schemaloader')
    91 
    90 
    92 # schema entities created from serialized schema have an eid rproperty
    91 # schema entities created from serialized schema have an eid rproperty