fixed IS_STRONG **** issue, issue 1098
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.3.0 (2012-12-05 14:17:12) rc1
|
||||
Version 2.3.0 (2012-12-05 15:23:32) rc1
|
||||
|
||||
@@ -2858,6 +2858,8 @@ class IS_STRONG(object):
|
||||
|
||||
def __call__(self, value):
|
||||
failures = []
|
||||
if value and len(value) == value.count('*') > 4:
|
||||
return (value, None)
|
||||
if self.entropy is not None:
|
||||
entropy = calc_entropy(value)
|
||||
if entropy < self.entropy:
|
||||
|
||||
Reference in New Issue
Block a user