which error? can't see it, is something wrong with the snippet you posted?

On Thu, Jun 18, 2015 at 12:27 AM, Diego García <[email protected]>
wrote:

> Hi Alesssandro!
>
> I understand you,
> Apparently the code has an error:
>
> file partials.py
>
> @expose('genshi:turbopress.templates.articles_excerpts')
> def excerpts(articles=None, blog=None):
>     if articles is None:
>         articles = model.Article.get_published(blog)
>     return dict(articles=articles)
>
>
> @expose('genshi:turbopress.templates.excerpt')
> def excerpt(article):
>     return article_preview(article)
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/turbogears.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to