[Calypso-commits] [calypso] 01/03: acl: Improve debugging by quoting the values
Guido Guenther
agx at moszumanska.debian.org
Sat Apr 9 19:30:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
agx pushed a commit to branch master
in repository calypso.
commit a126163900154e1e782eff48961a02cf3d9735fc
Author: Guido Günther <agx at sigxcpu.org>
Date: Sat Apr 9 00:07:01 2016 +0200
acl: Improve debugging by quoting the values
This makes it simple to spot empty values
---
calypso/acl/htpasswd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/calypso/acl/htpasswd.py b/calypso/acl/htpasswd.py
index 9932197..89e5ba5 100644
--- a/calypso/acl/htpasswd.py
+++ b/calypso/acl/htpasswd.py
@@ -59,7 +59,7 @@ def _sha1(hash_value, password):
def has_right(owner, user, password):
"""Check if ``user``/``password`` couple is valid."""
- log.debug("owner %s user %s", owner, user)
+ log.debug("owner '%s' user '%s'", owner, user)
for line in open(FILENAME).readlines():
if line.strip():
login, hash_value = line.strip().split(":", 1)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/calypso/calypso.git
More information about the Calypso-commits
mailing list