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
Add missing got_static_announcement #302
Add missing got_static_announcement #302
Conversation
self.tubs[serverid].setServiceParent(self) | ||
|
||
def got_static_announcement(self, key_s, ann): | ||
if key_s is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
key_s
should always be present now (since we got rid of v1 introducers). Let's remove the if
and do these precondition checks all the time. Let's also make the assert
on the service-name into a precondition()
. (we can make this change to _got_announcement()
too)
I kind of liked the approach we had before, where Is there any way we can merge Please rebase to current master when you get a chance, this overlaps a couple of moderate-sized branches from the last month. |
ok i've made the corrections you specified and removed code duplication. please review |
Some more items:
That might be easier than rebasing this, and will result in the same code. |
78e77c3
to
de61cd2
Compare
looks good.. just waiting for tests to complete, then I'll land it. thanks! |
i copy pasted this snippit of code from my dev branch introless-multiintro_yaml_config.2
it's probably wrong... and needs tests; DO NOT MERGE