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

Observe Flake8 on setting to skip publish when live pages submitted. #675

Closed
wants to merge 5 commits into from

Conversation

mattlinares
Copy link
Contributor

No description provided.

# Determine whether to publish the translation.
if getattr(settings, "WAGTAILLOCALIZE_SYNC_LIVE_STATUS_ON_TRANSLATE", True):
publish_on_translate_setting = getattr(settings, "WAGTAILLOCALIZE_SYNC_LIVE_STATUS_ON_TRANSLATE", True)
if publish_on_translate_setting is True:
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is an unnecessary change

@zerolab
Copy link
Collaborator

zerolab commented Feb 22, 2023

Hey @mattlinares I have some time on Friday where I planned to check on this, and make a new release.

Did you close it as you don't think it is relevant, or...?

@zerolab
Copy link
Collaborator

zerolab commented Feb 22, 2023

Added only the test in #677 and it is all green so will merge that (with attribution)

@mattlinares
Copy link
Contributor Author

Thanks @zerolab

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