[Blends-commit] [SCM] website branch, master, updated. cc029707a2bfe0a69c89fb770d3ef90e250704f9
Ole Streicher
olebole at debian.org
Tue Jan 12 11:22:35 UTC 2016
The following commit has been merged in the master branch:
commit da796ebbe94a252c75e66dc500aa9c59a090d131
Author: Ole Streicher <olebole at 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
More information about the Blends-commit
mailing list