Minor refactoring

This commit is contained in:
Miroslav Stampar
2013-01-10 16:09:28 +01:00
parent 1363f26367
commit ec4e49d771
8 changed files with 9 additions and 9 deletions

View File

@@ -127,7 +127,7 @@ def tableExists(tableFile, regex=None):
else:
kb.data.cachedTables[conf.db].append(item)
for _ in map(lambda x: (conf.db, x), threadData.shared.value):
for _ in ((conf.db, item) for item in threadData.shared.value):
if _ not in kb.brute.tables:
kb.brute.tables.append(_)