conf.unescape->kb.unescape

This commit is contained in:
Miroslav Stampar
2012-07-10 10:55:04 +02:00
parent e7f78bf04f
commit 8caffac4bc
3 changed files with 5 additions and 5 deletions

View File

@@ -6,13 +6,13 @@ See the file 'doc/COPYING' for copying permission
"""
from lib.core.common import Backend
from lib.core.data import conf
from lib.core.data import kb
from lib.core.datatype import AttribDict
from lib.core.settings import EXCLUDE_UNESCAPE
class Unescaper(AttribDict):
def unescape(self, expression, quote=True, dbms=None):
if not conf.unescape:
if not kb.unescape:
return expression
if expression is None: