Skip to content
Snippets Groups Projects
Commit a8866232 authored by Andreas Freise's avatar Andreas Freise
Browse files

adding missing function to params.

parent 46b0c57f
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,15 @@ class Param(putable, putter):
putable.__init__(self, owner.name, name, isPutable)
def _updateOwner(self, newOwner):
"""
This updates the internal weak reference to link a parameter to who owns it.
Should only be called by the __deepcopy__ component method to ensure things
are kept up to date.
"""
del self._owner
self._owner = weakref.ref(newOwner)
@property
def canFsig(self): return self._canFsig
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment