Re: Cheetah 1.0 vs Cheetah 2.2

Bogdano Arendartchuk <[email protected]> Tue, 29 Sep 2009 14:03:12 -0300
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
2009/9/29 Hansen, Mike <[email protected]>:
> Hi,
>
> I have an app running on Python 2.3 that uses Cheetah 1.0. If I upgraded Python to 2.6 and Cheetah 2.2 would there be any issues? Did the API change from Cheetah 1.0 to 2.2? I used compiled templates. Would I just have to recompile the templates to use 2.2?
>

The only problem I had was with the handing of empty blocks. For example:

  #if $foo
  ## Something was commented out
  #end if

Which results in IndentationError.

-- 
Bogdano Arendartchuk

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf