Skip to content

Commit e2a0f7a

Browse files
committed
Fix typo
1 parent 7ad9639 commit e2a0f7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def __setHTTPUserAgent():
314314
logger.debug(debugMsg)
315315

316316
try:
317-
fd = open(conf.userAgentsFile)
317+
fd = open(conf.userAgentsFile, "r")
318318
except IOError:
319319
warnMsg = "unable to read HTTP User-Agent header "
320320
warnMsg += "file '%s'" % conf.userAgentsFile

plugins/dbms/mysql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def checkDbms(self):
294294
if not conf.extensiveFp:
295295
return True
296296

297-
# Check which version of MySQL , 5.0.0 it is
297+
# Check which version of MySQL < 5.0.0 it is
298298
coercibility = inject.getValue("COERCIBILITY(USER())")
299299

300300
if coercibility == "3":

0 commit comments

Comments
 (0)