'Return a TarInfo object for member `name\'. If `name\' can not be
found in the archive, KeyError is raised. If a member occurs more
than once in the archive, its last occurrence is assumed to be the
most up-to-date version.'

def getmember(self, name):

    tarinfo = self._getmember(name)
    if (tarinfo is None):
        raise KeyError(('filename    %r    not    found' % name))
    return tarinfo
