From 09af079c2dce0f379af7e33fbaee6a8a870d2bdd Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 18 Jan 2013 16:03:54 +0100 Subject: [PATCH] Minor fix --- plugins/dbms/maxdb/syntax.py | 2 +- plugins/generic/syntax.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dbms/maxdb/syntax.py b/plugins/dbms/maxdb/syntax.py index 4a3249053..44b62b332 100644 --- a/plugins/dbms/maxdb/syntax.py +++ b/plugins/dbms/maxdb/syntax.py @@ -12,5 +12,5 @@ class Syntax(GenericSyntax): GenericSyntax.__init__(self) @staticmethod - def escape(expression): + def escape(expression, quote=True): return expression diff --git a/plugins/generic/syntax.py b/plugins/generic/syntax.py index e775291aa..1a1b5a904 100644 --- a/plugins/generic/syntax.py +++ b/plugins/generic/syntax.py @@ -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)