Mercurial > p > roundup > code
diff website/issues/html/user.help.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 | c2d0d3e9099d |
| children | 7146b68ac263 |
line wrap: on
line diff
--- a/website/issues/html/user.help.html Mon Mar 02 19:02:16 2020 +0100 +++ b/website/issues/html/user.help.html Tue Mar 03 20:58:16 2020 -0500 @@ -8,7 +8,7 @@ <link rel="stylesheet" type="text/css" href="@@file/style.css" /> <meta http-equiv="Content-Type" tal:attributes="content string:text/html;; charset=${request/client/charset}" /> - <tal:block tal:condition="python:request.form.has_key('property')"> + <tal:block tal:condition="python:'property' in request.form"> <title><tal:x i18n:translate=""><tal:x i18n:name="property" tal:content="property" i18n:translate="" /> help - <span i18n:name="tracker" tal:replace="config/TRACKER_NAME" /></tal:x></title>
