﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
431	Add py:else directive	hodgestar	hodgestar	"On the Genshi mailing list Eoghan Murray suggested the addition of a `py:else` directive that is nested inside the `py:if` directive and is an alternative to `py:choose` for simple binary output choices.

E.g.
{{{
>>> tmpl = MarkupTemplate('''<div xmlns:py=""http://genshi.edgewall.org/""
...   py:if=""False"">
...   Will not be output
...   <py:else>Will be output</py:else>
... </div>''')
>>> print(tmpl.generate())
<div>
  Will be output
</div>
}}}"	enhancement	new	major	0.9	Template processing	0.6			
