'Return RarInfo for filename'

def getinfo(self, member):

    if isinstance(member, RarInfo):
        fname = member.filename
    else:
        fname = member
    if (PATH_SEP == '/'):
        fname2 = fname.replace('\\', '/')
    else:
        fname2 = fname.replace('/', '\\')
    try:
        return self._info_map[fname]
    except KeyError:
        try:
            return self._info_map[fname2]
        except KeyError:
            raise NoRarEntry(('No    such    file:    %s' % fname))
