__init__.py
changeset 3674 387d51af966d
parent 3629 559cad62c786
parent 3670 b7ec030a5e10
child 3720 5376aaadd16b
equal deleted inserted replaced
3661:12ea53a4c0da 3674:387d51af966d
    18 
    18 
    19 import sys, os, logging
    19 import sys, os, logging
    20 from StringIO import StringIO
    20 from StringIO import StringIO
    21 
    21 
    22 from logilab.common.logging_ext import set_log_methods
    22 from logilab.common.logging_ext import set_log_methods
       
    23 
    23 
    24 
    24 if os.environ.get('APYCOT_ROOT'):
    25 if os.environ.get('APYCOT_ROOT'):
    25     logging.basicConfig(level=logging.CRITICAL)
    26     logging.basicConfig(level=logging.CRITICAL)
    26 else:
    27 else:
    27     logging.basicConfig()
    28     logging.basicConfig()
    67                   'EEType': 'CWEType',
    68                   'EEType': 'CWEType',
    68                   'EConstraintType': 'CWConstraintType',
    69                   'EConstraintType': 'CWConstraintType',
    69                   'EConstraint': 'CWConstraint',
    70                   'EConstraint': 'CWConstraint',
    70                   'EPermission': 'CWPermission',
    71                   'EPermission': 'CWPermission',
    71                   }
    72                   }
    72 
       
    73 
    73 
    74 
    74 
    75 # XXX cubic web cube migration map
    75 # XXX cubic web cube migration map
    76 CW_MIGRATION_MAP = {'erudi': 'cubicweb',
    76 CW_MIGRATION_MAP = {'erudi': 'cubicweb',
    77                     'eaddressbook': 'addressbook',
    77                     'eaddressbook': 'addressbook',