diff website/issues/html/user.forgotten.html @ 6119:53e9694788f5

Replace X.has_key('y') with x in y Make it python3 compatible.
author John Rouillard <rouilj@ieee.org>
date Tue, 03 Mar 2020 20:58:16 -0500
parents 4d32fa88c5d2
children
line wrap: on
line diff
--- a/website/issues/html/user.forgotten.html	Mon Mar 02 19:02:16 2020 +0100
+++ b/website/issues/html/user.forgotten.html	Tue Mar 03 20:58:16 2020 -0500
@@ -5,7 +5,8 @@
  i18n:translate="">Password reset request</span>
 <td class="content" metal:fill-slot="content">
 
-<tal:askforinfo tal:condition="python:options['error_message'] or not request.form.has_key('@action')"> 
+<tal:askforinfo tal:condition="python:options['error_message'] or
+			       '@action' not in request.form"> 
 
 <p i18n:translate="">You have two options if you have forgotten your password.
 If you know the email address you registered with, enter it below.</p>

Roundup Issue Tracker: http://roundup-tracker.org/