def parse(self):
    record_list = self.record.split('#')[0]
    record_list = record_list.split(':', 1)
    if (len(record_list) <= 1):
        raise ValueError('Record must contain a delimiter')
    if (len(record_list) > 2):
        raise ValueError('Record contains too many delimited fields')
    self.field = self.parse_field(record_list[0])
    self.path = self.parse_path(record_list[1])
def parse(self):
    record_list = self.record.split('#')[0]
    record_list = record_list.split(':', 1)
    if (len(record_list) <= 1):
        raise ValueError('Record must contain a delimiter')
    if (len(record_list) > 2):
        raise ValueError('Record contains too many delimited fields')
    self.field = self.parse_field(record_list[0])
    self.path = self.parse_path(record_list[1])