'Return the ``Package`` or ``Collection`` record for the
given item.'

def info(self, id):

    self._update_index()
    if (id in self._packages):
        return self._packages[id]
    if (id in self._collections):
        return self._collections[id]
    raise ValueError((u'Package    %r    not    found    in    index' % id))
