equal
deleted
inserted
replaced
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__, '_'): |