branch | stable |
changeset 5451 | 7b2e9f774028 |
parent 5424 | 8ecbcbff9777 |
child 5881 | 57387070f612 |
--- a/__init__.py Fri Apr 30 19:07:06 2010 +0200 +++ b/__init__.py Fri Apr 30 19:58:17 2010 +0200 @@ -21,6 +21,13 @@ """ __docformat__ = "restructuredtext en" +# ignore the pygments UserWarnings +import warnings +warnings.filterwarnings('ignore', category=UserWarning, + message='.*was already imported', + module='.*pygments') + + import __builtin__ # '_' is available in builtins to mark internationalized string but should # not be used to do the actual translation