divio/django-cms — pull request #3372 by jrief (2014-08-11 09:33:58+00:00)
Title: Fix placeholder_conf when overriding with empty parent_classes or empty child_classes

This fixes the following issue:

In the app's ``settings.py.CMS_PLACEHOLDER_CONF`` override ``child_classes`` or ``parent_classes`` of a placeholder config. If the plugin defined those classes, but in the settings it shall be overridden by an empty list, this is not possible, because the expression is evaluated for truethness instead of checking for an empty list.
Changeset: 1964b1287393da4b99ce0bcd97de38d2563c6dda

Additionally I fixed many PEP8 issues in that file.
Changeset: 3b444a50b646f63e5fd03c298b6b32fa573e7b53