diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-06-18 21:16:14 -0700 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-13 16:33:29 +0200 |
commit | 4b60db7deaa89a998715b45e942fa0c69dd5be1a (patch) | |
tree | 304720c369be0bf78aed80fe377fb892794f9fc0 /grc/gui/FlowGraph.py | |
parent | 025c19f6a22ab3ed035cbc63787c4dcdba395faf (diff) |
grc-refactor: the hopeless cause of bus ports...
Diffstat (limited to 'grc/gui/FlowGraph.py')
-rw-r--r-- | grc/gui/FlowGraph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/FlowGraph.py b/grc/gui/FlowGraph.py index 1c4960fed4..f6a57ef367 100644 --- a/grc/gui/FlowGraph.py +++ b/grc/gui/FlowGraph.py @@ -259,7 +259,7 @@ class FlowGraph(Element, _Flowgraph): Returns: true for change """ - return any([sb.type_controller_modify(direction) for sb in self.get_selected_blocks()]) + return any(sb.type_controller_modify(direction) for sb in self.get_selected_blocks()) def port_controller_modify_selected(self, direction): """ @@ -271,7 +271,7 @@ class FlowGraph(Element, _Flowgraph): Returns: true for changed """ - return any([sb.port_controller_modify(direction) for sb in self.get_selected_blocks()]) + return any(sb.port_controller_modify(direction) for sb in self.get_selected_blocks()) def enable_selected(self, enable): """ |