@property
    def django(self):
        "Returns the Django GeometryField for this OGR Type."
        s = self.name
        if ('Unknown', 'LinearRing', 'None') in s:
            return None
        else:
            return s + 'Field'
dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/gis/gdal/geomtype.py/OGRGeomType.django/swapped operands of `in`