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

fetch_configs: fix MRO in FirefoxL10nConfig (bug 1874400) #1585

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

zzzeid
Copy link
Collaborator

@zzzeid zzzeid commented Jan 12, 2024

This was in the correct order for ThunderbirdL10nConfig, however this was not the case for FirefoxL10nConfig. This PR fixes this problem, ensuring that the definition for the build regex is defined correctly.

Edit: also move CommonConfig to the right in ThunderbirdL10nConfig, since ThunderbirdL10nNightlyConfigMixin may have been overridden in that case as well.

@zzzeid zzzeid changed the title fetch_configs: fix MRO for L10n mixin (bug 1874400) fetch_configs: fix MRO in FirefoxL10nConfig (bug 1874400) Jan 12, 2024
@zzzeid zzzeid marked this pull request as ready for review January 12, 2024 16:19
@zzzeid zzzeid requested a review from cgsheeh January 12, 2024 16:19
Copy link
Member

@cgsheeh cgsheeh left a comment

Choose a reason for hiding this comment

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

Could we split these classes up so they each have one superclass?

@zzzeid
Copy link
Collaborator Author

zzzeid commented Jan 12, 2024

Could we split these classes up so they each have one superclass?

Can you clarify? There are 7 classes that extend CommonConfig, everything else is done via mixins.

@zzzeid zzzeid merged commit b08b163 into main Jan 12, 2024
15 checks passed
@zzzeid zzzeid deleted the zeid/bug-1874400-fix-mro branch January 12, 2024 19:37
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