summaryrefslogtreecommitdiff
path: root/grc/core/Param.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-06-15 21:04:58 -0700
committerSebastian Koslowski <koslowski@kit.edu>2016-07-13 16:33:29 +0200
commit7b8b791cda58879025d655987bcd6ea6e797e0e9 (patch)
tree3321b0cc2c88b8ab7a53213127892616a6c8fc1f /grc/core/Param.py
parent03c3d3f030b9dc20a005a00668ca6aa69cb75de0 (diff)
grc-refactor: Block: make more public attribs
Diffstat (limited to 'grc/core/Param.py')
-rw-r--r--grc/core/Param.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Param.py b/grc/core/Param.py
index 23e9daa656..907562dc4c 100644
--- a/grc/core/Param.py
+++ b/grc/core/Param.py
@@ -624,7 +624,7 @@ class Param(Element):
"""
params = []
for block in self.parent_flowgraph.get_enabled_blocks():
- params.extend(p for p in block.get_params() if p.get_type() == type)
+ params.extend(p for p in block.params if p.get_type() == type)
return params
def is_enum(self):