def __init__(self, parser, inf):
        """Open archive entry.
        """
        super(RarExtFile, self).__init__()

        # standard io.* properties
        self.name = inf.filename
        self.mode = 'rb'

        self._parser = parser
        self._inf = inf
        self._fd = None
        self._remain = 0
        self._returncode = 0

        self._md_context = None

        self._open()
def __init__ ( self , parser , inf ) : super ( RarExtFile , self ) . __init__ ( ) self . name = inf . filename self . mode = 'rb' self . _parser = parser self . _inf = inf self . _fd = None self . _remain = 0 self . _returncode = 0 self . _md_context = None self . _open ( )
Open archive entry.