Mailman CAPTCHA: rename displayhtml -> display
[ansible.git] / roles / email / files / mailman-patched / Captcha.py
index 42f75f02d07755ce602f2d9c7fd2de6794340e8b..ae979d47fe81d057331c5bbe0d572f9ec279ad42 100644 (file)
@@ -18,7 +18,7 @@
 import random
 from Mailman import Utils
 
-def displayhtml(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))