mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-22 03:33:57 +00:00
Pleasing the pylint gods
This commit is contained in:
parent
95560da7c1
commit
4077cd2342
25 changed files with 74 additions and 75 deletions
|
|
@ -328,8 +328,7 @@ class Format(object):
|
|||
else:
|
||||
return infoStr.lstrip()
|
||||
|
||||
class Backend:
|
||||
# Set methods
|
||||
class Backend(object):
|
||||
@staticmethod
|
||||
def setDbms(dbms):
|
||||
dbms = aliasToDbmsEnum(dbms)
|
||||
|
|
@ -3547,7 +3546,7 @@ def checkIntegrity():
|
|||
retVal = True
|
||||
|
||||
baseTime = os.path.getmtime(paths.SQLMAP_SETTINGS_PATH) + 3600 # First hour free parking :)
|
||||
for root, dirnames, filenames in os.walk(paths.SQLMAP_ROOT_PATH):
|
||||
for root, _, filenames in os.walk(paths.SQLMAP_ROOT_PATH):
|
||||
for filename in filenames:
|
||||
if re.search(r"(\.py|\.xml|_)\Z", filename):
|
||||
filepath = os.path.join(root, filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue