build.py: Use pythonic class name

This commit is contained in:
Mykola Grymalyuk
2022-11-12 17:14:39 -07:00
parent 21c40277bb
commit 55061bc86d
5 changed files with 6 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ def rmtree_handler(func, path, exc_info):
raise # pylint: disable=misplaced-bare-raise
class BuildOpenCore:
class build_opencore:
def __init__(self, model, versions):
self.model = model
self.config = None
@@ -156,12 +156,6 @@ class BuildOpenCore:
bluetooth.build_bluetooth(self.model, self.constants, self.config).build()
storage.build_storage(self.model, self.constants, self.config).build()
# CPUFriend
if self.model not in ["iMac7,1", "Xserve2,1", "Dortania1,1"] and self.constants.serial_settings != "None":
pp_map_path = Path(self.constants.platform_plugin_plist_path) / Path(f"{self.model}/Info.plist")