From c83cca4cd47579fb7741386eb00147393e290276 Mon Sep 17 00:00:00 2001 From: stamparm Date: Wed, 26 Jun 2013 13:49:34 +0200 Subject: [PATCH] Minor patch --- plugins/dbms/postgresql/fingerprint.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/dbms/postgresql/fingerprint.py b/plugins/dbms/postgresql/fingerprint.py index 5f6e83017..6d7363686 100644 --- a/plugins/dbms/postgresql/fingerprint.py +++ b/plugins/dbms/postgresql/fingerprint.py @@ -7,6 +7,7 @@ See the file 'doc/COPYING' for copying permission from lib.core.common import Backend from lib.core.common import Format +from lib.core.common import singleTimeWarnMessage from lib.core.data import conf from lib.core.data import kb from lib.core.data import logger @@ -179,4 +180,4 @@ class Fingerprint(GenericFingerprint): warnMsg += "only on the current schema and/or system databases. " warnMsg += "sqlmap is going to use 'public' schema as a " warnMsg += "database name" - logger.warn(warnMsg) + singleTimeWarnMessage(warnMsg)