Skip to content

Commit 5c9325d

Browse files
authored
Merge pull request #546 from myminju/enhancement/f-string-527
fix: f-string formatting gtid.py
2 parents 9716f87 + fb46dc8 commit 5c9325d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymysqlreplication/gtid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def __str__(self):
404404
return ",".join(str(x) for x in self.gtids)
405405

406406
def __repr__(self):
407-
return "<GtidSet %r>" % self.gtids
407+
return f"<GtidSet {self.gtids}>"
408408

409409
@property
410410
def encoded_length(self):

0 commit comments

Comments
 (0)