Minor fix

This commit is contained in:
Miroslav Stampar 2013-01-18 16:03:54 +01:00
parent 601eb1e49a
commit 09af079c2d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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