Skip to content

Commit

Permalink
Merge branch 'pr/56'
Browse files Browse the repository at this point in the history
fixed #55 printing to stdout with encoded output
  • Loading branch information
phdru committed Jul 19, 2023
2 parents 6a511e7 + 8b0f39d commit 3335664
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cheetah/CheetahWrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def _compileOrFillStdin(self):
pysrc = TemplateClass.compile(file=sys.stdin,
compilerSettings=compilerSettings,
returnAClass=False)
output = pysrc
output = pysrc if PY2 else pysrc.decode()
else:
output = str(TemplateClass(file=sys.stdin,
compilerSettings=compilerSettings))
Expand Down
1 change: 1 addition & 0 deletions docs/authors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ Contributions have been made by:
* odidev <odidev at puresoftware.com>
* Pierre Ossman <ossman at cendio.se>
* Michael Gorny <mgorny at gentoo.org>
* nate.k <nate.k at onetrueloan.com>
* Oleg Broytman <[email protected]>
8 changes: 7 additions & 1 deletion docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ News
Development (master)
--------------------

* CI(GHActions): Install all Python and PyPy versions from ``conda-forge``.
Bug fixes:

- Fixed printing to stdout in ``CheetahWrapper``.

CI:

- CI(GHActions): Install all Python and PyPy versions from ``conda-forge``.

3.3.1 (2022-12-25)
------------------
Expand Down

0 comments on commit 3335664

Please sign in to comment.