1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

remove bad python files from issue_finder

This commit is contained in:
h00die 2020-03-30 22:48:10 -04:00
parent bf8a1fc706
commit 2c11ea84e7

View File

@ -38,6 +38,9 @@ else:
for doc in list_docs:
docs.append(doc.split('.')[0].replace('/documentation/','/'))
for module in list_modules:
# skip compiled python code, and python internal use files
if module.split('.')[1] == 'pyc': continue
if '/_' in module.split('.')[0]: continue
modules.append(module.split('.')[0])
missings = 0