Trunk: Merged the Devel-branch (branches/griatch) into /trunk. This constitutes a major refactoring of Evennia. Development will now continue in trunk. See the wiki and the past posts to the mailing list for info. /Griatch

This commit is contained in:
Griatch 2010-08-29 18:46:58 +00:00
parent df29defbcd
commit f83c2bddf8
222 changed files with 22304 additions and 14371 deletions

View file

@ -1,5 +1,10 @@
from src import ansi
from src.ansi import BaseParser, ANSITable
"""
ANSI parser - this adds colour to text according to
special markup strings.
"""
from src.utils import ansi
from ansi import BaseParser, ANSITable
class IMCANSIParser(BaseParser):
"""
@ -57,4 +62,4 @@ def parse_ansi(*args, **kwargs):
"""
Shortcut to use the IMC2 ANSI parser.
"""
return ansi.parse_ansi(parser=IMCANSIParser(), *args, **kwargs)
return ansi.parse_ansi(parser=IMCANSIParser(), *args, **kwargs)