'Represent a single Row
@param row: the joined Row'

def represent_row(self, row):

    community = self.community
    if (not self.community):
        prow = row['project_project']
    row = row['gis_location']
    name = row.name
    level = row.level
    if (level == 'L0'):
        location = name
    elif name:
        locations = [name]
        lappend = locations.append
        matched = False
        L5 = row.L5
        if L5:
            if (L5 == name):
                matched = True
            else:
                lappend(L5)
        L4 = row.L4
        if L4:
            if (L4 == name):
                if matched:
                    lappend(L4)
                matched = True
            else:
                lappend(L4)
        L3 = row.L3
        if L3:
            if (L3 == name):
                if matched:
                    lappend(L3)
                matched = True
            else:
                lappend(L3)
        L2 = row.L2
        if L2:
            if (L2 == name):
                if matched:
                    lappend(L2)
                matched = True
            else:
                lappend(L2)
        L1 = row.L1
        if L1:
            if (L1 == name):
                if matched:
                    lappend(L1)
                matched = True
            else:
                lappend(L1)
        if self.multi_country:
            L0 = row.L0
            if L0:
                if (L0 == name):
                    if matched:
                        lappend(L0)
                    matched = True
                else:
                    lappend(L0)
        location = ',    '.join(locations)
    else:
        locations = [row[level] for level in ('L5', 'L4', 'L3', 'L2', 'L1') if row[level]]
        if self.multi_country:
            L0 = row.L0
            if L0:
                locations.append(L0)
        location = ',    '.join(locations)
    if community:
        return s3_str(location)
    else:
        if (self.use_codes and prow.code):
            project = ('%s:    %s' % (prow.code, prow.name))
        else:
            project = prow.name
        name = ('%s    (%s)' % (project, location))
        return s3_str(name)
