Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94d43a4

Browse files
committed
minor bug fix
1 parent 63bc4ce commit 94d43a4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/controller/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def genCmpPayload():
411411
if not Backend.getIdentifiedDbms():
412412
warnMsg = "using unescaped version of the test "
413413
warnMsg += "because of zero knowledge of the "
414-
warnMsg += "back-end DBMS. you can try to "
414+
warnMsg += "back-end DBMS. You can try to "
415415
warnMsg += "explicitly set it using the --dbms "
416416
warnMsg += "option"
417417
singleTimeWarnMessage(warnMsg)

lib/core/dump.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"""
99

1010
import codecs
11-
import cStringIO
1211
import re
1312
import os
13+
import StringIO
1414
import threading
1515

1616
from lib.core.common import Backend
@@ -75,7 +75,7 @@ def __formatString(self, inpStr):
7575
def setOutputFile(self):
7676
self.__outputFile = "%s%slog" % (conf.outputPath, os.sep)
7777
self.__outputFP = codecs.open(self.__outputFile, "ab", UNICODE_ENCODING)
78-
self.__outputBP = cStringIO.StringIO()
78+
self.__outputBP = StringIO.StringIO()
7979

8080
def getOutputFile(self):
8181
return self.__outputFile

0 commit comments

Comments
 (0)