Tres Seaver
2012-03-18 5d3ddceaf8ac8ec90ce295ead431450c41d470de
Coverage.
1 files modified
2 ■■■ changed files
repoze/who/plugins/htpasswd.py 2 ●●● 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