minor fix to previous commit

This commit is contained in:
Bernardo Damele 2013-01-18 15:10:34 +00:00
parent 601eb1e49a
commit f49657eacc
2 changed files with 2 additions and 2 deletions

View File

@ -12,5 +12,5 @@ class Syntax(GenericSyntax):
GenericSyntax.__init__(self)
@staticmethod
def escape(expression):
def escape(expression, quote=True):
return expression

View File

@ -16,7 +16,7 @@ class Syntax:
pass
@staticmethod
def escape(expression):
def escape(expression, quote=True):
errMsg = "'escape' method must be defined "
errMsg += "inside the specific DBMS plugin"
raise SqlmapUndefinedMethod(errMsg)