def create_style(self, featuretype):
        """
        Check Geoserver to see if a named style exists. Creates the style if it doesn't already exist.

        @returns: True if the object exists or was created. False on error.
        """
        nsfeaturetype = '%s:%s' % (self.ns, featuretype,)
        style_obj = { 'style': {
            'name': nsfeaturetype,
            'filename': nsfeaturetype % '%s.sld'
        } }

        # Create the styles for the demographic layers
        style_url = '/geoserver/rest/styles'

        # Get or create the spatial style
        return self._check_spatial_resource(style_url, nsfeaturetype, style_obj)
dataset/ETHPy150Open PublicMapping/DistrictBuilder/django/publicmapping/redistricting/config.py/SpatialUtils.create_style/swapped operands of `%`