Restyling redundant 'except Exception' form

This commit is contained in:
Miroslav Stampar
2013-01-10 15:54:28 +01:00
parent acfeeb4f51
commit 834be1eddc
4 changed files with 4 additions and 4 deletions

View File

@@ -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:
except:
warnMsg = "there was a problem while hashing entry: %s. " % repr(word)
warnMsg += "Please report by e-mail to %s" % ML
logger.critical(warnMsg)