diff options
author | Jeff Long <willcode4@gmail.com> | 2021-10-14 10:42:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 10:42:11 -0400 |
commit | 39a8c4a36e1b354943dd1e2e818446a63065abce (patch) | |
tree | 6c32c7e132d39c5a74ca4fb0b14b0e624f0955af /grc | |
parent | grc: Don't fail when type lookup fails by defaulting to an empty set. (diff) | |
download | gnuradio-39a8c4a36e1b354943dd1e2e818446a63065abce.tar.xz gnuradio-39a8c4a36e1b354943dd1e2e818446a63065abce.zip |
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')
-rw-r--r-- | grc/core/Connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Connection.py b/grc/core/Connection.py index e79ffe14e..b1c7196e3 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)) |