def __new__(cls, name, bases, attrs):
        try:
            PrefixedSettings
        except __HOLE__:
            # Creating the PrefixedSettings class. Continue.
            pass
        else:
            if PrefixedSettings in bases:
                prefix = get_prefix(attrs, name)
                attrs = prefix_attributes(prefix, attrs)
        return super(PrefixedSettingsBase, cls).__new__(cls, name, bases,
                                                        attrs)
dataset/ETHPy150Open matthewwithanm/django-classbasedsettings/cbsettings/settings.py/PrefixedSettingsBase.__new__