Skip to content
Snippets Groups Projects
Commit f08b4a5d authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

In Entity class, each signal gives rise to an attribute returning the signal.

parent 607f5ecf
No related branches found
No related tags found
No related merge requests found
......@@ -119,12 +119,7 @@ class Entity (object) :
def __getattr__(self, name):
try:
return self.signal(name).value
return self.signal(name)
except:
object.__getattr__(self, name)
def __setattr__(self, name,value):
try:
self.signal(name).value = value
except:
object.__setattr__(self, name, value)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment