summaryrefslogtreecommitdiff
path: root/grc/python/Block.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2015-04-09 20:44:59 +0200
committerSebastian Koslowski <koslowski@kit.edu>2015-06-11 09:40:20 +0200
commit80272df0bd29c02e7d677062431ba0ae4e07ed60 (patch)
tree2925bcb6de8ba7bf501d6e41990012e497f55aee /grc/python/Block.py
parent71ab508d5640e098751b4a1ce089d4b4d6885ced (diff)
grc: add <flags> to blocks dtd (<throttle> still supported)
Diffstat (limited to 'grc/python/Block.py')
-rw-r--r--grc/python/Block.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/grc/python/Block.py b/grc/python/Block.py
index 191b03b452..5d52e2bf3c 100644
--- a/grc/python/Block.py
+++ b/grc/python/Block.py
@@ -52,7 +52,6 @@ class Block(_Block, _GUIBlock):
self._var_make = n.find('var_make')
self._checks = n.findall('check')
self._callbacks = n.findall('callback')
- self._throttle = n.find('throttle') or ''
self._bus_structure_source = n.find('bus_structure_source') or ''
self._bus_structure_sink = n.find('bus_structure_sink') or ''
#build the block
@@ -78,8 +77,6 @@ class Block(_Block, _GUIBlock):
except: return ''
- def throttle(self): return bool(self._throttle)
-
def validate(self):
"""
Validate this block.