def _splitFieldValue(self, line):
        u"""Split the string *line* into field name (starting with $ and ending with space)
        and string value. If the field is one of @self.COMMAFIELDS@, then the value
        must be a comma separated list. Split the string into a list of values.
        """
        found = self.FIELDVALUE.findall(line)
        if found:
            fieldName, value = found[0]
            if self.C.ADAPTER_COMMAFIELDS in fieldName:
                value = self.COMMASPLIT.findall(value)[:-1] # Split and remove last empty part
            return fieldName, value
        return None, None # No field name match on this line.
dataset/ETHPy150Open petrvanblokland/Xierpa3/xierpa3/adapters/textilefileadapter.py/TextileFileAdapter._splitFieldValue/swapped operands of `in`