aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-04-11 18:36:40 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-04-11 18:36:40 +0900
commit4adcb27774066835546919d127c0ee341bb00208 (patch)
tree30011132a9664c343e05108de05413fefae2914b /Mailman/Cgi
parent21794803f456989ecdcafbe9cb395885ee24becb (diff)
parenta942e159e5c738072efa8fa8c4d7c76cc35a7db5 (diff)
downloadmailman2-4adcb27774066835546919d127c0ee341bb00208.tar.gz
mailman2-4adcb27774066835546919d127c0ee341bb00208.tar.xz
mailman2-4adcb27774066835546919d127c0ee341bb00208.zip
merge lp:mailman/2.1 up to rev 1750
Diffstat (limited to 'Mailman/Cgi')
-rwxr-xr-xMailman/Cgi/subscribe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Cgi/subscribe.py b/Mailman/Cgi/subscribe.py
index 3977268c..aefce493 100755
--- a/Mailman/Cgi/subscribe.py
+++ b/Mailman/Cgi/subscribe.py
@@ -151,7 +151,7 @@ def process_form(mlist, doc, cgidata, lang):
if not captcha_response['success']:
e_codes = COMMASPACE.join(captcha_response['error-codes'])
results.append(_('reCAPTCHA validation failed: %(e_codes)s'))
- except urllib2.URLError as e:
+ except urllib2.URLError, e:
e_reason = e.reason
results.append(_('reCAPTCHA could not be validated: %(e_reason)s'))