(self, **kwargs)
| 180 | return os_versions |
| 181 | |
| 182 | def build_url(self, **kwargs): |
| 183 | catalog = kwargs.get("catalog", self.current_catalog).lower() |
| 184 | catalog = catalog if catalog.lower() in self.catalog_suffix else "publicrelease" |
| 185 | version = int(kwargs.get("version", self.current_macos)) |
| 186 | return "https://swscan.apple.com/content/catalogs/others/index-{}.merged-1.sucatalog".format( |
| 187 | "-".join(reversed(self.get_macos_versions(self.min_macos,version,catalog=self.catalog_suffix.get(catalog,"")))) |
| 188 | ) |
| 189 | |
| 190 | def get_catalog_data(self, local = False): |
| 191 | # Gets the data based on our current_catalog |
no test coverage detected