mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Fixing DeprecationWarning (logger.warn)
This commit is contained in:
parent
90b444c927
commit
df4293473d
99 changed files with 429 additions and 428 deletions
|
|
@ -65,7 +65,7 @@ class Custom(object):
|
|||
elif not isStackingAvailable() and not conf.direct:
|
||||
warnMsg = "execution of non-query SQL statements is only "
|
||||
warnMsg += "available when stacked queries are supported"
|
||||
logger.warn(warnMsg)
|
||||
logger.warning(warnMsg)
|
||||
|
||||
return None
|
||||
else:
|
||||
|
|
@ -80,7 +80,7 @@ class Custom(object):
|
|||
output = NULL
|
||||
|
||||
except SqlmapNoneDataException as ex:
|
||||
logger.warn(ex)
|
||||
logger.warning(ex)
|
||||
|
||||
return output
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue