[Pypi-checkins] r812 - trunk/pypi/templates

richard python-checkins at python.org
Sat Jul 24 18:07:00 CEST 2010


Author: richard
Date: Sat Jul 24 18:07:00 2010
New Revision: 812

Modified:
   trunk/pypi/templates/display.pt
Log:
better

Modified: trunk/pypi/templates/display.pt
==============================================================================
--- trunk/pypi/templates/display.pt	(original)
+++ trunk/pypi/templates/display.pt	Sat Jul 24 18:07:00 2010
@@ -21,7 +21,7 @@
 <metal:fill fill-slot="body">
 <p style="font-style: italic" tal:content="data/release/summary | nothing" />
 
-<p tal:condition="python:len(data['release']['description'])>500 and data['files']">
+<p tal:condition="python:len(data['release'].get('description', ''))>500 and data['files']">
     <a href="#downloads">Downloads &darr;</a>
 </p>
 


More information about the Pypi-checkins mailing list