|
@@ -192,7 +192,7 @@ class Reference(DataHandler):
|
192
|
192
|
# @param internal bool : if False, the field is not internal
|
193
|
193
|
# @param **kwargs : other arguments
|
194
|
194
|
def __init__(self, allowed_classes = None, back_reference = None, internal=False, **kwargs):
|
195
|
|
- self.__allowed_classes = [] if allowed_classes is None else set(allowed_classes)
|
|
195
|
+ self.__allowed_classes = set() if allowed_classes is None else set(allowed_classes)
|
196
|
196
|
logger.warning("We're going to inialize an temporary attribute, don't forget to fix this issue")
|
197
|
197
|
if back_reference is not None:
|
198
|
198
|
if len(back_reference) != 2:
|