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
......@@ -164,8 +164,11 @@ class SignalBase (object) :
else :
raise RuntimeError(
"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
def time(self) :
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment