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:
parent
4f6223177e
commit
c27eb6deee
1 changed files with 2 additions and 1 deletions
|
@ -343,7 +343,8 @@ class RelationSet(object):
|
|||
|
||||
@Lazy
|
||||
def predicate(self):
|
||||
return self.conceptManager[self.predicateName]
|
||||
#return self.conceptManager[self.predicateName]
|
||||
return self.conceptManager.get(self.predicateName)
|
||||
|
||||
|
||||
class ParentRelationSet(RelationSet):
|
||||
|
|
Loading…
Add table
Reference in a new issue