Removed duplicated check
This commit is contained in:
parent
b12ea8d27a
commit
d754a166a1
@ -152,10 +152,6 @@ class relation (object):
|
|||||||
if isinstance(attributes[0], list):
|
if isinstance(attributes[0], list):
|
||||||
attributes = attributes[0]
|
attributes = attributes[0]
|
||||||
|
|
||||||
# Avoiding duplicated attributes
|
|
||||||
if len(set(attributes)) != len (attributes):
|
|
||||||
raise Exception('Duplicated attributes in projection')
|
|
||||||
|
|
||||||
ids = self.header.getAttributesId(attributes)
|
ids = self.header.getAttributesId(attributes)
|
||||||
|
|
||||||
if len(ids) == 0 or len(ids) != len(attributes):
|
if len(ids) == 0 or len(ids) != len(attributes):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user