Skip to content
Snippets Groups Projects
Commit 8019f592 authored by Oscar E. Ramos P's avatar Oscar E. Ramos P
Browse files

When the object is created by copy then getName should not be called.

pointed out by OS.
parent a0363375
No related branches found
No related tags found
No related merge requests found
...@@ -164,8 +164,11 @@ class SignalBase (object) : ...@@ -164,8 +164,11 @@ class SignalBase (object) :
else : else :
raise RuntimeError( raise RuntimeError(
"A pointer is required to create SignalBase object.") "A pointer is required to create SignalBase object.")
self.name=self.getName()
self.className=self.getClassName() if (obj==None):
self.className=self.getClassName()
self.name=self.getName()
@property @property
def time(self) : def time(self) :
""" """
......
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