mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-24 10:37:51 +00:00
Minor patches
This commit is contained in:
parent
e7268ffb4d
commit
7244e8e4e2
5 changed files with 38 additions and 38 deletions
|
|
@ -31,8 +31,8 @@ def purge(directory):
|
|||
dirpaths = []
|
||||
|
||||
for rootpath, directories, filenames in os.walk(directory):
|
||||
dirpaths.extend([os.path.abspath(os.path.join(rootpath, _)) for _ in directories])
|
||||
filepaths.extend([os.path.abspath(os.path.join(rootpath, _)) for _ in filenames])
|
||||
dirpaths.extend(os.path.abspath(os.path.join(rootpath, _)) for _ in directories)
|
||||
filepaths.extend(os.path.abspath(os.path.join(rootpath, _)) for _ in filenames)
|
||||
|
||||
logger.debug("changing file attributes")
|
||||
for filepath in filepaths:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue