X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=grc%2Fpython%2FPort.py;fp=grc%2Fpython%2FPort.py;h=6e5a5c59f2a24045750caa8598e120291dcecaa0;hb=2924c0e740bbb9106bfed602345daaee5606d62a;hp=6965371df8a9e922dbeb808d78da53bf93c81a59;hpb=94d315e556805fb75784964499472977664809c4;p=debian%2Fgnuradio diff --git a/grc/python/Port.py b/grc/python/Port.py index 6965371d..6e5a5c59 100644 --- a/grc/python/Port.py +++ b/grc/python/Port.py @@ -167,5 +167,7 @@ class Port(_Port, _GUIPort): def copy(self, new_key=None): n = self._n.copy() + #remove nports from the key so the copy cannot be a duplicator + if n.has_key('nports'): n.pop('nports') if new_key: n['key'] = new_key return self.__class__(self.get_parent(), n, self._dir)