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