'Given a package, return a list of values describing that
package, one for each column in ``self.COLUMNS``.'

def _package_to_columns(self, pkg):

    row = []
    for (column_index, column_name) in enumerate(self.COLUMNS):
        if (column_index == 0):
            row.append(u'')
        elif (column_name == u'Identifier'):
            row.append(pkg.id)
        elif (column_name == u'Status'):
            row.append(self._ds.status(pkg))
        else:
            attr = column_name.lower().replace(u'    ', u'_')
            row.append(getattr(pkg, attr, u'n/a'))
    return row
