Skip to content

Commit 6ac7c48

Browse files
author
btgoodwin
committed
Bug: failed to copy; made the previous fix a one-shot.
1 parent c712de0 commit 6ac7c48

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

model/redhawk.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
from tornado import ioloop, log
3636

3737
import collections
38-
38+
import copy
3939

4040
class Redhawk(object):
4141
__domains = None
@@ -216,8 +216,9 @@ def _application_externalProps(app):
216216
for prop in comp._properties:
217217
log.app_log.debug('Checking {} == {}'.format(prop.id, pid))
218218
if prop.id == pid:
219-
prop.id = epid;
220-
props.append(prop)
219+
eprop = copy.copy(prop)
220+
eprop.id = epid;
221+
props.append(eprop)
221222
log.app_log.debug('Found external property {} -> {}'.format(epid, pid))
222223
break;
223224
break;

0 commit comments

Comments
 (0)