This commit is contained in:
Konsta Vesterinen
2015-03-17 12:28:56 +02:00
parent 007c3c98b8
commit ca23f30b7d

View File

@@ -92,8 +92,8 @@ def get_class_by_table(base, table, data=None):
return cls
raise ValueError(
"Multiple declarative classes found for table '{0}'. Given "
"data row matches does not match any polymorphic identity of "
"the found classes."
"data row does not match any polymorphic identity of the "
"found classes."
)
elif found_classes:
return found_classes.pop()