From 94355aebe6758c4c393c41302adb70bfee9cec34 Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Thu, 13 Dec 2007 21:56:52 +0000 Subject: [PATCH] Fixed some __repr__'s attempting to %d their not-yet-assigned primary key ids. --- test/orm/inheritance/poly_linked_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/orm/inheritance/poly_linked_list.py b/test/orm/inheritance/poly_linked_list.py index 1b14b44265..bdec083d36 100644 --- a/test/orm/inheritance/poly_linked_list.py +++ b/test/orm/inheritance/poly_linked_list.py @@ -45,7 +45,7 @@ class PolymorphicCircularTest(ORMTest): if data is not None: self.data = data def __repr__(self): - return "%s(%d, %s, %s)" % (self.__class__.__name__, self.id, repr(str(self.name)), repr(self.data)) + return "%s(%s, %s, %s)" % (self.__class__.__name__, self.id, repr(str(self.name)), repr(self.data)) class Table1B(Table1): pass @@ -60,7 +60,7 @@ class PolymorphicCircularTest(ORMTest): def __init__(self, data): self.data = data def __repr__(self): - return "%s(%d, %s)" % (self.__class__.__name__, self.id, repr(str(self.data))) + return "%s(%s, %s)" % (self.__class__.__name__, self.id, repr(str(self.data))) try: # this is how the mapping used to work. ensure that this raises an error now -- 2.47.3