def get_fields(self, field_name):
        """
        Returns a list containing the given field name for every Feature
        in the Layer.
        """
        if not self.fields in field_name:
            raise OGRException('invalid field name: %s' % field_name)
        return [feat.get(field_name) for feat in self]
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/gdal/layer.py/Layer.get_fields/swapped operands of `in`