Remove unused imports

This commit is contained in:
Mykola Grymalyuk
2024-07-21 13:53:52 -06:00
parent ae423888d7
commit 8d88fbbfa4
12 changed files with 3 additions and 21 deletions
+1
View File
@@ -8,6 +8,7 @@
- Removes Gatekeeper "verifying" prompt on first launch after PKG installation - Removes Gatekeeper "verifying" prompt on first launch after PKG installation
- Note `gktool` is only available on macOS Sonoma and newer - Note `gktool` is only available on macOS Sonoma and newer
- Resolve unpatching crash edge case when host doesn't require patches. - Resolve unpatching crash edge case when host doesn't require patches.
- Implement new Software Update Catalog Parser for macOS Installers
## 1.5.0 ## 1.5.0
- Restructure project directories - Restructure project directories
-1
View File
@@ -5,7 +5,6 @@ import subprocess
from pathlib import Path from pathlib import Path
from opencore_legacy_patcher import constants
from opencore_legacy_patcher.support import subprocess_wrapper from opencore_legacy_patcher.support import subprocess_wrapper
@@ -7,12 +7,9 @@ This is to ensure compatibility when running without a user
ie. during automated patching ie. during automated patching
""" """
import os
import logging import logging
import plistlib import plistlib
from . import subprocess_wrapper
from pathlib import Path from pathlib import Path
@@ -5,7 +5,6 @@ install.py: Installation of OpenCore files to ESP
import logging import logging
import plistlib import plistlib
import subprocess import subprocess
import applescript
from pathlib import Path from pathlib import Path
@@ -13,8 +12,6 @@ from . import utilities, subprocess_wrapper
from .. import constants from .. import constants
from ..datasets import os_data
class tui_disk_installation: class tui_disk_installation:
def __init__(self, versions): def __init__(self, versions):
@@ -2,7 +2,6 @@
kdk_handler.py: Module for parsing and determining best Kernel Debug Kit for host OS kdk_handler.py: Module for parsing and determining best Kernel Debug Kit for host OS
""" """
import os
import logging import logging
import plistlib import plistlib
import requests import requests
@@ -18,8 +18,7 @@ from .. import constants
from . import ( from . import (
analytics_handler, analytics_handler,
global_settings, global_settings
subprocess_wrapper
) )
@@ -3,7 +3,6 @@ subprocess_wrapper.py: Wrapper for subprocess module to better handle errors and
Additionally handles our Privileged Helper Tool Additionally handles our Privileged Helper Tool
""" """
import os
import enum import enum
import logging import logging
import subprocess import subprocess
@@ -11,9 +11,6 @@ import requests
import markdown2 import markdown2
import threading import threading
import webbrowser import webbrowser
import subprocess
from pathlib import Path
from .. import constants from .. import constants
@@ -2,7 +2,6 @@
gui_settings.py: Settings Frame for the GUI gui_settings.py: Settings Frame for the GUI
""" """
import os
import wx import wx
import wx.adv import wx.adv
import pprint import pprint
@@ -24,8 +23,7 @@ from ..support import (
global_settings, global_settings,
defaults, defaults,
generate_smbios, generate_smbios,
network_handler, network_handler
subprocess_wrapper
) )
from ..datasets import ( from ..datasets import (
model_array, model_array,
@@ -2,7 +2,6 @@
gui_support.py: Utilities for interacting with wxPython GUI gui_support.py: Utilities for interacting with wxPython GUI
""" """
import os
import wx import wx
import sys import sys
import time import time
@@ -20,7 +19,6 @@ from . import gui_about
from .. import constants from .. import constants
from ..detections import device_probe from ..detections import device_probe
from ..support import subprocess_wrapper
from ..datasets import ( from ..datasets import (
model_array, model_array,
@@ -2,7 +2,6 @@
gui_sys_patch_display.py: Display root patching menu gui_sys_patch_display.py: Display root patching menu
""" """
import os
import wx import wx
import logging import logging
import plistlib import plistlib
@@ -6,7 +6,6 @@ import wx
import sys import sys
import time import time
import logging import logging
import datetime
import threading import threading
import subprocess import subprocess