Qualify Person with RelLIb
svn: r1330
This commit is contained in:
parent
2da4d6bbb1
commit
3be45c6a6e
@ -110,7 +110,7 @@ class PersonMap(Persistent, UserDict):
|
|||||||
def __setitem__(self, key, value):
|
def __setitem__(self, key, value):
|
||||||
if not isinstance(value, PersonWrapper):
|
if not isinstance(value, PersonWrapper):
|
||||||
# Create the PersonWrapper.
|
# Create the PersonWrapper.
|
||||||
assert isinstance(value, Person)
|
assert isinstance(value, RelLib.Person)
|
||||||
value = PersonWrapper(value, self)
|
value = PersonWrapper(value, self)
|
||||||
self.data[key] = value
|
self.data[key] = value
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user