The following commit has been merged in the master branch: commit 5ad10b956b2239cbf6f7375a49c90ac8dd3108c4 Author: Ole Streicher <oleb...@debian.org> Date: Sun Jan 10 20:46:52 2016 +0100
Leftover dict.has_key(x) --> x in dict diff --git a/webtools_py3/templates/tasks_idx.xhtml b/webtools_py3/templates/tasks_idx.xhtml index 5f85b54..5c63e98 100644 --- a/webtools_py3/templates/tasks_idx.xhtml +++ b/webtools_py3/templates/tasks_idx.xhtml @@ -81,7 +81,7 @@ table { </td> <td> <span py:choose=""> - <span py:when="tasks[task].metapkg.desc.has_key(lang)"> + <span py:when="lang in tasks[task].metapkg.desc"> ${tasks[task].metapkg.desc[lang]['short']} </span> <span py:otherwise=""> -- Static and dynamic websites for Debian Pure Blends _______________________________________________ Blends-commit mailing list Blends-commit@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/blends-commit