Skip to content

Commit

Permalink
Merge pull request #12 from courage-tci/dev
Browse files Browse the repository at this point in the history
Fixed `Utils.separated_str` yielding first string by character
  • Loading branch information
evtn committed Apr 6, 2023
2 parents ba39bf6 + 9d091ad commit a680828
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gekkota/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def separated_str(separator: Sequence[str], strings: Sequence[str], config: Conf
if not len(strings):
yield ""
return
yield from strings[0]
yield strings[0]
for renderable in strings[1:]:
yield from separator
yield renderable
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gekkota"
version = "0.5.1"
version = "0.5.2"
description = "Python code-generation for Python"
authors = ["Dmitry Gritsenko <k01419q45@ya.ru>"]
license = "MIT"
Expand Down

0 comments on commit a680828

Please sign in to comment.