Permalink
Browse files

Minor cleanup

  • Loading branch information...
1 parent 712cf4e commit 0d5d84edc7fb7dea4b6e3acfdbaa532b5f69d04d @stamparm stamparm committed Dec 20, 2012
Showing with 1 addition and 5 deletions.
  1. +0 −2 _sqlmap.py
  2. +0 −1 lib/controller/action.py
  3. +0 −1 lib/techniques/error/use.py
  4. +1 −1 lib/utils/hash.py
View
@@ -6,7 +6,6 @@
"""
import bdb
-import logging
import os
import sys
import time
@@ -29,7 +28,6 @@
from lib.core.data import paths
from lib.core.common import unhandledExceptionMessage
from lib.core.exception import exceptionsTuple
-from lib.core.exception import SqlmapMissingDependence
from lib.core.exception import SqlmapSilentQuitException
from lib.core.exception import SqlmapUserQuitException
from lib.core.option import init
@@ -8,7 +8,6 @@
from lib.controller.handler import setHandler
from lib.core.common import Backend
from lib.core.common import Format
-from lib.core.common import dataToStdout
from lib.core.data import conf
from lib.core.data import kb
from lib.core.data import logger
@@ -236,7 +236,6 @@ def errorUse(expression, dump=False):
start = time.time()
startLimit = 0
stopLimit = None
- output = None
value = None
_, _, _, _, _, expressionFieldsList, expressionFields, _ = agent.getFields(expression)
View
@@ -500,7 +500,7 @@ def _bruteProcessVariantA(attack_info, hash_regex, suffix, retVal, proc_id, proc
except (UnicodeEncodeError, UnicodeDecodeError):
pass # ignore possible encoding problems caused by some words in custom dictionaries
- except Exception, e:
+ except Exception:
warnMsg = "there was a problem while hashing entry: %s. " % repr(word)
warnMsg += "Please report by e-mail to %s" % ML
logger.critical(warnMsg)

0 comments on commit 0d5d84e

Please sign in to comment.