projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
etherpad: configure DB charset like docs recommend
[ansible.git]
/
roles
/
email
/
files
/
mailman-patched
/
Captcha.py
diff --git
a/roles/email/files/mailman-patched/Captcha.py
b/roles/email/files/mailman-patched/Captcha.py
index 42f75f02d07755ce602f2d9c7fd2de6794340e8b..ae979d47fe81d057331c5bbe0d572f9ec279ad42 100644
(file)
--- a/
roles/email/files/mailman-patched/Captcha.py
+++ b/
roles/email/files/mailman-patched/Captcha.py
@@
-18,7
+18,7
@@
import random
from Mailman import Utils
-def display
html
(mlist, captchas):
+def display(mlist, captchas):
"""Returns a CAPTCHA question, the HTML for the answer box, and
the data to be put into the CSRF token"""
idx = random.randrange(len(captchas))