changeset 4384:09328e4aab45

deprecate ParserBase syntax highlighter
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 12 Oct 2008 00:59:13 +0200
parents e25b00b3a308
children fad86749fe04
files MoinMoin/parser/_ParserBase.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/_ParserBase.py	Sun Oct 12 00:26:49 2008 +0200
+++ b/MoinMoin/parser/_ParserBase.py	Sun Oct 12 00:59:13 2008 +0200
@@ -26,6 +26,9 @@
 
 import re
 
+from MoinMoin import log
+logging = log.getLogger(__name__)
+
 from MoinMoin import config, wikiutil
 from MoinMoin.support.python_compatibility import hash_new
 
@@ -152,6 +155,8 @@
 
 
 class ParserBase:
+    """ DEPRECATED highlighting parser - please use/extend pygments library """
+    logging.warning('Using ParserBase is deprecated - please use/extend pygments syntax highlighting library.')
 
     parsername = 'ParserBase'
     tabwidth = 4