summaryrefslogtreecommitdiff
path: root/grc/python/Port.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/python/Port.py')
-rw-r--r--grc/python/Port.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/grc/python/Port.py b/grc/python/Port.py
index 14adc0618..0b6d20bbe 100644
--- a/grc/python/Port.py
+++ b/grc/python/Port.py
@@ -111,9 +111,6 @@ class Source(Port):
block._source_count = block._source_count + 1
Port.__init__(self, block, n)
- def __del__(self):
- self.get_parent()._source_count = self.get_parent()._source_count - 1
-
class Sink(Port):
def __init__(self, block, n):
@@ -124,8 +121,5 @@ class Sink(Port):
block._sink_count = block._sink_count + 1
Port.__init__(self, block, n)
- def __del__(self):
- self.get_parent()._sink_count = self.get_parent()._sink_count - 1
-
#TODO check that nports and vlen is undefined when type is message
#TODO only allow up to one port of type msg