[stringtemplate-interest] Bug in PyST: 576s/StringIO/StringIO()/ language/ASTExpr.py
Benjamin Niemann
pink at odahoda.de
Sat Sep 13 04:09:02 PDT 2008
Sounds familiar.. Yes, I fixed that, might not be checked in though...
On Fri, Sep 5, 2008 at 12:36 PM, Roman Odaisky <roma at qwertty.com> wrote:
> Looks like a typo.
>
> Does PyST have a bugtracker?
>
> --- language/ASTExpr.py 2008-09-05 13:33:27.000000000 +0300
> +++ language/ASTExpr.py 2008-09-05 12:52:22.000000000 +0300
> @@ -573,7 +573,7 @@
> # template because the template must be written to
> # a temp StringWriter so it can be formatted before
> # being written to the real output.
> - buf = StringIO
> + buf = StringIO()
> sw = this.getGroup().getStringTemplateWriter(buf)
> o.write(sw)
> n = out.write(renderer.toString(buf.getvalue(), self.formatString))
>
> --
> WBR
> Roman.
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest
>
>
More information about the stringtemplate-interest
mailing list