diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2015-08-19 14:01:03 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2015-09-02 11:48:33 +0200 |
commit | c3ed72b9d9fffb234ed266c243a6b3c3b49d42d2 (patch) | |
tree | 1582af3616595a5d63a387e3c87aae7d66b52730 /grc/python/Generator.py | |
parent | 656e80a7a25465f2df15533c046f406051bde71b (diff) |
grc: refactor FlowGraph.py(s)
Diffstat (limited to 'grc/python/Generator.py')
-rw-r--r-- | grc/python/Generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/python/Generator.py b/grc/python/Generator.py index 98fbd0c360..3c687a2d64 100644 --- a/grc/python/Generator.py +++ b/grc/python/Generator.py @@ -173,7 +173,7 @@ class TopBlockGenerator(object): return code blocks = expr_utils.sort_objects( - filter(lambda b: b.get_enabled() and not b.get_bypassed(), self._flow_graph.get_blocks()), + filter(lambda b: b.get_enabled() and not b.get_bypassed(), self._flow_graph.iter_blocks()), lambda b: b.get_id(), _get_block_sort_text ) # List of regular blocks (all blocks minus the special ones) |