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

Convert method arguments to dbus signatures #120

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

whot
Copy link
Contributor

@whot whot commented Apr 4, 2022

Fixes #118

@whot whot force-pushed the wip/check-dbus-signature branch from 0310d94 to 84e758b Compare April 4, 2022 04:03
whot added 2 commits April 4, 2022 14:05
No functional changes other than a reshuffling of types and renaming of
args to make mypy happy.
We need to use the private attribute _dbus_in_signature from the method,
it's the only way to get to the actual signature. Wrap it through
getattr() so pylint doesn't complain.

Fixes f8709a9

Fixes martinpitt#118
@whot whot force-pushed the wip/check-dbus-signature branch from 84e758b to 61b7754 Compare April 4, 2022 04:07
Copy link
Owner

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I confirmed that this also fixes ofono after reverting commit e52f87e. In hindsight, I should have been a bit more sceptical back then.. I'll land this, revert the hack, and do a new release.

@martinpitt martinpitt merged commit 501d962 into martinpitt:master Apr 4, 2022
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.

0.27.3 breaks most accountsservice tests
2 participants