Skip to content

Commit

Permalink
0.5.1: correct merge error
Browse files Browse the repository at this point in the history
The print statement introduced in the merge commit
needed to be converted to a `return` in the new
formatting strategy.
  • Loading branch information
joshmoore committed Dec 5, 2024
1 parent 90ca3cd commit 54e6cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/omero_rdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __init__(self):
def serialize_triple(self, triple):
s, p, o = triple
escaped = o.n3().encode("unicode_escape").decode("utf-8")
print(f"""{s.n3()}\t{p.n3()}\t{escaped} .""")
return f"""{s.n3()}\t{p.n3()}\t{escaped} ."""


class NonStreamingFormat(Format):
Expand Down

0 comments on commit 54e6cb4

Please sign in to comment.