repoze/who/plugins/htpasswd.py | ●●●●● patch | view | raw | blame | history |
repoze/who/plugins/htpasswd.py
@@ -82,7 +82,7 @@ # Attempt at isochronous string comparison. mismatches = filter(None, [a != b for a, b, ignored in izip_longest(x, y, PADDING)]) if type(mismatches) != list: if type(mismatches) != list: #pragma NO COVER Python >= 3.0 mismatches = list(mismatches) return len(mismatches) == 0