def __init__(self, ctx, meta_class):
        """
        @type   ctx:        ips_vagrant.cli.Context
        @type   license:    ips_vagrant.scraper.licenses.LicenseMeta or None
        """
        self.ctx = ctx
        self.log = logging.getLogger('ipsv.downloader')
        self.session = http_session(ctx.cookiejar)
        self.meta_class = meta_class
        self.meta_name = self.meta_class.__name__

        self.path = os.path.join(self.ctx.config.get('Paths', 'Data'), 'versions')
        self.dev_path = None
        self.dev_version = None
        self.versions = OrderedDict()
def __init__ ( self , ctx , meta_class ) : self . ctx = ctx self . log = logging . getLogger ( 'ipsv.downloader' ) self . session = http_session ( ctx . cookiejar ) self . meta_class = meta_class self . meta_name = self . meta_class . __name__ self . path = os . path . join ( self . ctx . config . get ( 'Paths' , 'Data' ) , 'versions' ) self . dev_path = None self . dev_version = None self . versions = OrderedDict ( )
@type   ctx:        ips_vagrant.cli.Context
        @type   license:    ips_vagrant.scraper.licenses.LicenseMeta or None