Skip to content
Snippets Groups Projects
Commit 607f5ecf authored by Nicolas Mansard's avatar Nicolas Mansard Committed by Nicolas Mansard
Browse files

Change the error message when an attribute does not exist.

parent 4faf7044
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,10 @@ class Entity (object) :
def __getattr__(self, name):
return self.signal(name).value
try:
return self.signal(name).value
except:
object.__getattr__(self, name)
def __setattr__(self, name,value):
try:
......
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