Mercurial > p > roundup > code
diff website/issues/html/file.item.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 | f63a2b15e628 |
| children |
line wrap: on
line diff
--- a/website/issues/html/file.item.html Mon Mar 02 19:02:16 2020 +0100 +++ b/website/issues/html/file.item.html Tue Mar 03 20:58:16 2020 -0500 @@ -39,7 +39,7 @@ <input type="hidden" name="@template" value="item"> <input type="hidden" name="@required" value="name,type"> <input type="hidden" name="@multilink" - tal:condition="python:request.form.has_key('@multilink')" + tal:condition="python:'@multilink' in request.form" tal:attributes="value request/form/@multilink/value"> </td> <td tal:content="structure context/submit">submit button here</td>
