The following commit has been merged in the master branch: commit da796ebbe94a252c75e66dc500aa9c59a090d131 Author: Ole Streicher <oleb...@debian.org> Date: Tue Jan 12 08:47:13 2016 +0100
found another hsa_key() diff --git a/webtools_py3/templates/debian-astro_idx.xhtml b/webtools_py3/templates/debian-astro_idx.xhtml index 948933b..dcac997 100644 --- a/webtools_py3/templates/debian-astro_idx.xhtml +++ b/webtools_py3/templates/debian-astro_idx.xhtml @@ -59,7 +59,7 @@ <p style="margin-bottom:0;"> <strong>${PackageByName[pkg_name].pkg.capitalize()}:</strong> <span py:choose=""> - <span py:when="PackageByName[pkg_name].desc.has_key(lang)">${PackageByName[pkg_name].desc[lang]['short']}</span> + <span py:when="lang in PackageByName[pkg_name].desc">${PackageByName[pkg_name].desc[lang]['short']}</span> <span py:otherwise="">${PackageByName[pkg_name].desc['en']['short']}</span> </span> -- 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