From 54e6cb44b330cf77943028fdc9499e6e09c29643 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Thu, 5 Dec 2024 23:00:56 +0100 Subject: [PATCH] 0.5.1: correct merge error The print statement introduced in the merge commit needed to be converted to a `return` in the new formatting strategy. --- src/omero_rdf/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/omero_rdf/__init__.py b/src/omero_rdf/__init__.py index b6aeb0a..be658d2 100644 --- a/src/omero_rdf/__init__.py +++ b/src/omero_rdf/__init__.py @@ -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):