From 94d43a4135007c247b8d4436aff964cf2d957d50 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 30 Dec 2011 14:20:06 +0000 Subject: [PATCH] minor bug fix --- lib/controller/checks.py | 2 +- lib/core/dump.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 9f3cadead..12b4ad547 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -411,7 +411,7 @@ def checkSqlInjection(place, parameter, value): if not Backend.getIdentifiedDbms(): warnMsg = "using unescaped version of the test " warnMsg += "because of zero knowledge of the " - warnMsg += "back-end DBMS. you can try to " + warnMsg += "back-end DBMS. You can try to " warnMsg += "explicitly set it using the --dbms " warnMsg += "option" singleTimeWarnMessage(warnMsg) diff --git a/lib/core/dump.py b/lib/core/dump.py index add687f9a..d917453d7 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -8,9 +8,9 @@ See the file 'doc/COPYING' for copying permission """ import codecs -import cStringIO import re import os +import StringIO import threading from lib.core.common import Backend @@ -75,7 +75,7 @@ class Dump: def setOutputFile(self): self.__outputFile = "%s%slog" % (conf.outputPath, os.sep) self.__outputFP = codecs.open(self.__outputFile, "ab", UNICODE_ENCODING) - self.__outputBP = cStringIO.StringIO() + self.__outputBP = StringIO.StringIO() def getOutputFile(self): return self.__outputFile