Pleasing the pylint gods

This commit is contained in:
Miroslav Stampar
2019-05-29 16:42:04 +02:00
parent 95560da7c1
commit 4077cd2342
25 changed files with 74 additions and 75 deletions

View File

@@ -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)