Skip to content

Commit

Permalink
Bug: failed to copy; made the previous fix a one-shot.
Browse files Browse the repository at this point in the history
  • Loading branch information
btgoodwin committed Feb 6, 2018
1 parent c712de0 commit 6ac7c48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions model/redhawk.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from tornado import ioloop, log

import collections

import copy

class Redhawk(object):
__domains = None
Expand Down Expand Up @@ -216,8 +216,9 @@ def _application_externalProps(app):
for prop in comp._properties:
log.app_log.debug('Checking {} == {}'.format(prop.id, pid))
if prop.id == pid:
prop.id = epid;
props.append(prop)
eprop = copy.copy(prop)
eprop.id = epid;
props.append(eprop)
log.app_log.debug('Found external property {} -> {}'.format(epid, pid))
break;
break;
Expand Down

0 comments on commit 6ac7c48

Please sign in to comment.