Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More TypeError fixing in update_port_postcommit() #127

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

sebageek
Copy link
Collaborator

@sebageek sebageek commented Oct 4, 2023

In some cases update_port_postcommit() gets two old segments, but the second segment can be None, apparently. This, again, leads us to a TypeError, as we try to find out if 'network_id' is in None.

Well, now we check if the segment is none beforehand and even make the core a bit shorter by giving the original bindings a name.

In some cases update_port_postcommit() gets two old segments, but the
second segment can be None, apparently. This, again, leads us to a
TypeError, as we try to find out if 'network_id' is in None.

Well, now we check if the segment is none beforehand and even make the
core a bit shorter by giving the original bindings a name.
@sebageek sebageek merged commit 3a08355 into stable/yoga-m3 Oct 5, 2023
3 checks passed
@sebageek sebageek deleted the fix-postcommit-hook-even-better branch October 5, 2023 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants