purcell / airspeed

A lightweight Python template engine compatible with Velocity, used in OpenStack
Other
91 stars 37 forks source link

Not support '#break' #22

Open SivilTaram opened 9 years ago

SivilTaram commented 9 years ago

Hello,thank you for your contribution,but when I wrote it as follow:

if( $foreach.count = $people.count ) #break

But I saw that when foreach.count is equal to people.count the sequence "#break" just being printed,it wasn't executed.

purcell commented 9 years ago

Yeah, #break isn't currently supported. It'd be a bit fiddly to add, so I can't promise to implement it very quickly.