def parseProp(row,fields, shp):
    out=dict()
    for field in fields:
        if (fields[field] != u'OID') and ('shape_length','shape_area','shape.len','shape.length','shape_len','shape.area',shp.lower()) not in field.lower() and row.getValue(field) is not None:
            if fields[field] == "Date":
                value = str(row.getValue(field).date())
            elif fields[field] == "String":
                value = row.getValue(field).strip()
            else:
                value = row.getValue(field)
            if value != "":
                out[field]=value
    return out
dataset/ETHPy150Open CityOfPhiladelphia/arc-open/arc_open/esri2open/utilities.py/parseProp/swapped operands of `not in`