fix copy method of Attached
a copy of 'Attached' must also copy the basecls Change-Id: Ia80cc458b241cb1f224f4c24f0241ed1d4ec1060
This commit is contained in:
parent
9f653b4e6f
commit
725820fafd
@ -843,3 +843,6 @@ class Attached(Property):
|
||||
return super().__get__(obj, owner)
|
||||
# return the module (called after startup)
|
||||
return obj.attachedModules.get(self.name) # return None if not given
|
||||
|
||||
def copy(self):
|
||||
return Attached(self.basecls, self.description, self.mandatory)
|
||||
|
Loading…
x
Reference in New Issue
Block a user