Removing unused imports

This commit is contained in:
Miroslav Stampar
2015-07-12 12:25:02 +02:00
parent ffd9498827
commit 16f8e4c8ba
20 changed files with 3 additions and 35 deletions

View File

@@ -43,7 +43,7 @@ def saveHistory(completion=None):
historyPath = paths.SQLMAP_SHELL_HISTORY
try:
with open(historyPath, "w+") as f:
with open(historyPath, "w+"):
pass
except:
pass
@@ -92,7 +92,7 @@ class CompleterNG(rlcompleter.Completer):
matches.append(word)
return matches
def autoCompletion(completion=None, os=None, commands=None):
if not readlineAvailable():
return