product should not generate duplicated items, removed check
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@7 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
7d048cb399
commit
953ebc3d1e
@ -85,9 +85,7 @@ class relation (object):
|
|||||||
|
|
||||||
for i in self.content:
|
for i in self.content:
|
||||||
for j in other.content:
|
for j in other.content:
|
||||||
n=i+j
|
newt.content.append(i+j)
|
||||||
if n not in newt.content:
|
|
||||||
newt.content.append(i+j)
|
|
||||||
return newt
|
return newt
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user