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

Fix python3 error when ttw theme name doubles fs theme #163

Merged
merged 1 commit into from Aug 23, 2019

Conversation

fredvd
Copy link
Sponsor Member

@fredvd fredvd commented Aug 20, 2019

Python 3 throws TypeError, filter not subscriptable. could add TypeError to the exception, but makes swallowing errors more generic...

Python 3 throws TypeError, filter not subscriptable.  could add TypeError to the exception, but makes swallowing errors more generic...
@mister-roboto
Copy link

@fredvd thanks for creating this Pull Request and help improve Plone!

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass.

Whenever you feel that the pull request is ready to be tested, either start all jenkins jobs pull requests by yourself, or simply add a comment in this pull request stating:

@jenkins-plone-org please run jobs

With this simple comment all the jobs will be started automatically.

Happy hacking!

@fredvd
Copy link
Sponsor Member Author

fredvd commented Aug 20, 2019

@jenkins-plone-org please run jobs

@fredvd
Copy link
Sponsor Member Author

fredvd commented Aug 20, 2019

Fixes #160 . Saw the issue only today, I used a list instead of tuple. Tuple might be efficient, but it's not that there will be >10 themes in a Plone site anyway.

Copy link
Sponsor Member

@mauritsvanrees mauritsvanrees left a comment

Choose a reason for hiding this comment

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

LGTM.
One Jenkins failure on 3.7, but that is unrelated and seems a temporary hiccup. I have restarted the job.
A changelog entry should be added. I can also do that after merge.

@mauritsvanrees mauritsvanrees merged commit 3764200 into master Aug 23, 2019
@mauritsvanrees mauritsvanrees deleted the fredvd-python3-themefilter branch August 23, 2019 09:26
mauritsvanrees added a commit that referenced this pull request Aug 23, 2019
@mauritsvanrees
Copy link
Sponsor Member

I have merged it, and added a news snippet on master.

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.

None yet

3 participants