don't raise an error if predicate is not found; this avoids errors when importing concepts with relation or relation set attributes

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3765 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2010-03-10 09:10:02 +00:00
parent 4f6223177e
commit c27eb6deee

View file

@ -343,7 +343,8 @@ class RelationSet(object):
@Lazy @Lazy
def predicate(self): def predicate(self):
return self.conceptManager[self.predicateName] #return self.conceptManager[self.predicateName]
return self.conceptManager.get(self.predicateName)
class ParentRelationSet(RelationSet): class ParentRelationSet(RelationSet):