Minor adjustment

This commit is contained in:
Bernardo Damele 2011-01-11 23:56:04 +00:00
parent 5c7c3c76c3
commit c2e994e806

View File

@ -16,10 +16,10 @@ class Unescaper(advancedDict):
return self[kb.dbms](expression, quote=quote)
elif hasattr(kb.misc, "testedDbms") and kb.misc.testedDbms is not None:
return self[kb.misc.testedDbms](expression, quote=quote)
if dbms is not None:
return self[dbms](expression, quote=quote)
elif hasattr(kb.misc, "testedDbms") and kb.misc.testedDbms is not None:
return self[kb.misc.testedDbms](expression, quote=quote)
elif dbms is not None:
return self[dbms](expression, quote=quote)
else:
return expression