3136: Creating a graphical report crashes the report generator
svn: r14249
This commit is contained in:
parent
08d00c4865
commit
77e94312d2
@ -82,8 +82,10 @@ class HasCommonAncestorWith(Rule):
|
|||||||
|
|
||||||
def has_common_ancestor(self, other):
|
def has_common_ancestor(self, other):
|
||||||
for handle in self.with_people:
|
for handle in self.with_people:
|
||||||
if self.ancestor_cache[handle] & \
|
if ((handle in self.ancestor_cache and
|
||||||
self.ancestor_cache[other.handle]:
|
self.ancestor_cache[handle]) &
|
||||||
|
(other.handle in self.ancestor_cache and
|
||||||
|
self.ancestor_cache[other.handle])):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user