Ian Bicking wrote:
> That fix is in trunk now. What kind of exception is it exactly? It
> would have to have a .args of (), as no .args won't trigger this case. I
> have code that uses skip_template() and it works fine. Unless maybe I
> haven't tested it on Python 2.5, and something changed there.
The IndexError with the traceback I posted appears if I change
sqlobject.txt_tmpl in TurboGears 1.0 to look like that:
---
db_module=${skip_template(sqlobject != 'True') or package}.model
history_dir=${"$"}base/${package}/sqlobject-history
---
Just tested this with Python 2.4, and there was the same problem.
-- Chris
_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users