mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Replacing deprecated has_key() with operator in (PEP8)
This commit is contained in:
parent
e4a3c015e5
commit
1712603dce
5 changed files with 7 additions and 7 deletions
|
|
@ -81,7 +81,7 @@ class Enumeration(GenericEnumeration):
|
|||
|
||||
if retVal:
|
||||
for table in retVal[0].values()[0]:
|
||||
if not kb.data.cachedTables.has_key(db):
|
||||
if db not in kb.data.cachedTables:
|
||||
kb.data.cachedTables[db] = [table]
|
||||
else:
|
||||
kb.data.cachedTables[db].append(table)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue