Minor bug fix

This commit is contained in:
Bernardo Damele 2011-01-14 14:20:28 +00:00
parent e4e9b11b79
commit 534f51f9fc

View File

@ -670,7 +670,10 @@ class Agent:
@rtype: C{str} @rtype: C{str}
""" """
if getIdentifiedDBMS() is not None and hasattr(queries[getIdentifiedDBMS()], "case"):
return queries[getIdentifiedDBMS()].case.query % expression return queries[getIdentifiedDBMS()].case.query % expression
else:
return expression
def addPayloadDelimiters(self, inpStr): def addPayloadDelimiters(self, inpStr):
""" """