__init__.py
changeset 5473 ee87c5352e63
parent 5451 7b2e9f774028
child 5881 57387070f612
equal deleted inserted replaced
5471:b7bf1c6751fd 5473:ee87c5352e63
    18 """CubicWeb is a generic framework to quickly build applications which describes
    18 """CubicWeb is a generic framework to quickly build applications which describes
    19 relations between entitites.
    19 relations between entitites.
    20 
    20 
    21 """
    21 """
    22 __docformat__ = "restructuredtext en"
    22 __docformat__ = "restructuredtext en"
       
    23 
       
    24 # ignore the pygments UserWarnings
       
    25 import warnings
       
    26 warnings.filterwarnings('ignore', category=UserWarning,
       
    27                         message='.*was already imported',
       
    28                         module='.*pygments')
       
    29 
    23 
    30 
    24 import __builtin__
    31 import __builtin__
    25 # '_' is available in builtins to mark internationalized string but should
    32 # '_' is available in builtins to mark internationalized string but should
    26 # not be used to do the actual translation
    33 # not be used to do the actual translation
    27 if not hasattr(__builtin__, '_'):
    34 if not hasattr(__builtin__, '_'):