summaryrefslogtreecommitdiff
path: root/grc/core/FlowGraph.py
diff options
context:
space:
mode:
authorClayton Smith <argilo@gmail.com>2020-10-12 16:13:19 -0400
committerSebastian Koslowski <sebastian.koslowski@gmail.com>2020-10-20 15:16:48 +0200
commit272d38407f0a7460b0e3958a8dfeb71dfb342b3e (patch)
tree630b0288a329adecb70aff4036a3366e8f79b131 /grc/core/FlowGraph.py
parent629d8854863ab9ea782d0c0d648f525ed5d4c71b (diff)
grc: fix pylint C0303: Trailing whitespace
Diffstat (limited to 'grc/core/FlowGraph.py')
-rw-r--r--grc/core/FlowGraph.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py
index 93d2f932a2..d7a2bfeeee 100644
--- a/grc/core/FlowGraph.py
+++ b/grc/core/FlowGraph.py
@@ -2,7 +2,7 @@
# This file is part of GNU Radio
#
# SPDX-License-Identifier: GPL-2.0-or-later
-#
+#
import collections
@@ -115,7 +115,7 @@ class FlowGraph(Element):
if not section or sect == section:
output.append(d)
- # Sort by descending priority
+ # Sort by descending priority
if section:
output = sorted(output, key=lambda x: x['priority'], reverse=True)
@@ -255,7 +255,7 @@ class FlowGraph(Element):
variable_block.rewrite()
value = eval(variable_block.value, namespace, variable_block.namespace)
namespace[variable_block.name] = value
- self.namespace.update(namespace) # rewrite on subsequent blocks depends on an updated self.namespace
+ self.namespace.update(namespace) # rewrite on subsequent blocks depends on an updated self.namespace
except TypeError: #Type Errors may happen, but that desn't matter as they are displayed in the gui
pass
except Exception:
@@ -317,7 +317,7 @@ class FlowGraph(Element):
connection = self.parent_platform.Connection(
parent=self, source=porta, sink=portb)
self.connections.add(connection)
-
+
return connection
def disconnect(self, *ports):
@@ -411,7 +411,7 @@ class FlowGraph(Element):
block.import_data(**block_data)
- self.rewrite()
+ self.rewrite()
# build the connections
def verify_and_get_port(key, block, dir):