def __setattr__(self, name, value):
        if ("MEDIA_URL", "STATIC_URL") in name and value and not value.endswith('/'):
            raise ImproperlyConfigured("If set, %s must end with a slash" % name)
        elif name == "ALLOWED_INCLUDE_ROOTS" and isinstance(value, six.string_types):
            raise ValueError("The ALLOWED_INCLUDE_ROOTS setting must be set "
                "to a tuple, not a string.")
        object.__setattr__(self, name, value)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/conf/__init__.py/BaseSettings.__setattr__/swapped operands of `in`