From 5d3ddceaf8ac8ec90ce295ead431450c41d470de Mon Sep 17 00:00:00 2001
From: Tres Seaver <tseaver@palladion.com>
Date: Sun, 18 Mar 2012 20:19:13 +0100
Subject: [PATCH] Coverage.

---
 repoze/who/plugins/htpasswd.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/repoze/who/plugins/htpasswd.py b/repoze/who/plugins/htpasswd.py
index 8ff8f1c..f324fc5 100644
--- a/repoze/who/plugins/htpasswd.py
+++ b/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
 

--
Gitblit v1.9.3