summaryrefslogtreecommitdiff
path: root/grc/core/Connection.py
diff options
context:
space:
mode:
authorJeff Long <willcode4@gmail.com>2021-10-14 10:42:11 -0400
committerGitHub <noreply@github.com>2021-10-14 10:42:11 -0400
commit39a8c4a36e1b354943dd1e2e818446a63065abce (patch)
tree6c32c7e132d39c5a74ca4fb0b14b0e624f0955af /grc/core/Connection.py
parent2c83f5ce267267119e90c1ab552845edb500030c (diff)
grc: typo in Connection.py
default for dict is just an extra arg, no default= keyword Signed-off-by: Jeff Long <willcode4@gmail.com> (cherry picked from commit 553248575079794236923ad3aa03cda03ed902d0) Signed-off-by: Jeff Long <willcode4@gmail.com>
Diffstat (limited to 'grc/core/Connection.py')
-rw-r--r--grc/core/Connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Connection.py b/grc/core/Connection.py
index e79ffe14e4..b1c7196e3d 100644
--- a/grc/core/Connection.py
+++ b/grc/core/Connection.py
@@ -94,7 +94,7 @@ class Connection(Element):
source_dtype = self.source_port.dtype
sink_dtype = self.sink_port.dtype
if source_dtype != sink_dtype and source_dtype not in ALIASES_OF.get(
- sink_dtype, default=set()
+ sink_dtype, set()
):
self.add_error_message('Source IO type "{}" does not match sink IO type "{}".'.format(source_dtype, sink_dtype))