def _populate_ips_versions(self):
        """
        Populate IPS version data for mapping
        @return:
        """
        # Get a map of version ID's from our most recent IPS version
        ips = IpsManager(self.ctx)
        ips = ips.dev_version or ips.latest
        with ZipFile(ips.filepath) as zip:
            namelist = zip.namelist()

            ips_versions_path = os.path.join(namelist[0], 'applications/core/data/versions.json')
            if ips_versions_path not in namelist:
                raise BadZipfile('Missing versions.json file')
            self.ips_versions = json.loads(zip.read(ips_versions_path), object_pairs_hook=OrderedDict)
            self.log.debug("%d version ID's loaded from latest IPS release", len(self.ips_versions))
def _populate_ips_versions ( self ) : ips = IpsManager ( self . ctx ) ips = ips . dev_version or ips . latest with ZipFile ( ips . filepath ) as zip : namelist = zip . namelist ( ) ips_versions_path = os . path . join ( namelist [ 0 ] , 'applications/core/data/versions.json' ) if ips_versions_path not in namelist : raise BadZipfile ( 'Missing versions.json file' ) self . ips_versions = json . loads ( zip . read ( ips_versions_path ) , object_pairs_hook = OrderedDict ) self . log . debug ( "%d version ID's loaded from latest IPS release" , len ( self . ips_versions ) )
Populate IPS version data for mapping
        @return: