diff --git a/gateways/python/fjagepy/__init__.py b/gateways/python/fjagepy/__init__.py index d37ca027..6e391877 100644 --- a/gateways/python/fjagepy/__init__.py +++ b/gateways/python/fjagepy/__init__.py @@ -287,8 +287,6 @@ def __init__(self, inReplyTo=None, perf=Performative.INFORM, **kwargs): if not k.startswith('_') and k.endswith('_'): k = k[:-1] self.__dict__[k] = v - if isinstance(v, AgentID): - self.__dict__[k] = v.name def __getattribute__(self, name): if name == 'performative': @@ -407,8 +405,6 @@ def setclazz(self, **kwargs): if not k.startswith('_') and k.endswith('_'): k = k[:-1] self.__dict__[k] = v - if isinstance(v, AgentID): - self.__dict__[k] = v.name sname = name.split('.')[-1] class_ = type(sname, (parent,), {"__init__": setclazz}) @@ -532,8 +528,6 @@ def __init__(self, **kwargs): if not k.startswith('_') and k.endswith('_'): k = k[:-1] self.__dict__[k] = v - if isinstance(v, AgentID): - self.__dict__[k] = v.name class Gateway: