'Print useful info about report.'

def __repr__(self):

    s = ('<Report    |    %d    items' % len(self.fnames))
    if (self.title is not None):
        s += ('    |    %s' % self.title)
    fnames = [_get_fname(f) for f in self.fnames]
    if (len(self.fnames) > 4):
        s += ('\n%s' % '\n'.join(fnames[:2]))
        s += '\n    ...\n'
        s += '\n'.join(fnames[(-2):])
    elif (len(self.fnames) > 0):
        s += ('\n%s' % '\n'.join(fnames))
    s += '\n>'
    return s
