minor fixes and minor updates

This commit is contained in:
Miroslav Stampar
2011-06-16 12:12:30 +00:00
parent 3995891ab4
commit 25b923bbc3
4 changed files with 12 additions and 3 deletions

View File

@@ -37,11 +37,17 @@ def smokeTest():
retVal = True
count, length = 0, 0
for _, _, files in os.walk(paths.SQLMAP_ROOT_PATH):
for root, _, files in os.walk(paths.SQLMAP_ROOT_PATH):
if 'extra' in root:
continue
for ifile in files:
length += 1
for root, _, files in os.walk(paths.SQLMAP_ROOT_PATH):
if 'extra' in root:
continue
for ifile in files:
if os.path.splitext(ifile)[1].lower() == '.py' and ifile != '__init__.py':
path = os.path.join(root, os.path.splitext(ifile)[0])