summaryrefslogtreecommitdiff
path: root/grc/core/Connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/Connection.py')
-rw-r--r--grc/core/Connection.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/grc/core/Connection.py b/grc/core/Connection.py
index b1c7196e3d..a341abe72a 100644
--- a/grc/core/Connection.py
+++ b/grc/core/Connection.py
@@ -96,12 +96,14 @@ class Connection(Element):
if source_dtype != sink_dtype and source_dtype not in ALIASES_OF.get(
sink_dtype, set()
):
- self.add_error_message('Source IO type "{}" does not match sink IO type "{}".'.format(source_dtype, sink_dtype))
+ self.add_error_message('Source IO type "{}" does not match sink IO type "{}".'.format(
+ source_dtype, sink_dtype))
source_size = self.source_port.item_size
sink_size = self.sink_port.item_size
if source_size != sink_size:
- self.add_error_message('Source IO size "{}" does not match sink IO size "{}".'.format(source_size, sink_size))
+ self.add_error_message(
+ 'Source IO size "{}" does not match sink IO size "{}".'.format(source_size, sink_size))
##############################################
# Import/Export Methods