__init__.py
changeset 5473 ee87c5352e63
parent 5451 7b2e9f774028
child 5881 57387070f612
--- a/__init__.py	Wed May 05 18:08:34 2010 +0200
+++ b/__init__.py	Wed May 05 18:10:33 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