Removed stale TODO statements
This commit is contained in:
parent
1a26aead44
commit
98032a0fed
6 changed files with 1 additions and 8 deletions
|
|
@ -383,7 +383,6 @@ def audio_test():
|
||||||
"""Run an OS-specific audio test."""
|
"""Run an OS-specific audio test."""
|
||||||
if PLATFORM == 'Linux':
|
if PLATFORM == 'Linux':
|
||||||
audio_test_linux()
|
audio_test_linux()
|
||||||
# TODO: Add tests for other OS
|
|
||||||
|
|
||||||
|
|
||||||
def audio_test_linux():
|
def audio_test_linux():
|
||||||
|
|
|
||||||
|
|
@ -385,7 +385,6 @@ class Disk(BaseObj):
|
||||||
aligned = is_4k_aligned_macos(self.details)
|
aligned = is_4k_aligned_macos(self.details)
|
||||||
elif PLATFORM == 'Linux':
|
elif PLATFORM == 'Linux':
|
||||||
aligned = is_4k_aligned_linux(self.path, self.details['phy-sec'])
|
aligned = is_4k_aligned_linux(self.path, self.details['phy-sec'])
|
||||||
#TODO: Add checks for other OS
|
|
||||||
|
|
||||||
return aligned
|
return aligned
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,5 @@
|
||||||
"""WizardKit: UFD Functions"""
|
"""WizardKit: UFD Functions"""
|
||||||
# vim: sts=2 sw=2 ts=2
|
# vim: sts=2 sw=2 ts=2
|
||||||
# TODO: Replace some lsblk usage with hw_obj?
|
|
||||||
# TODO: Reduce imports if possible
|
|
||||||
# TODO: Needs testing
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -181,7 +181,6 @@ def share_is_mounted(details):
|
||||||
if row['source'] == f'//{details["Address"]}/{details["Share"]}':
|
if row['source'] == f'//{details["Address"]}/{details["Share"]}':
|
||||||
mounted = True
|
mounted = True
|
||||||
break
|
break
|
||||||
#TODO: Check mount status under Windows
|
|
||||||
#elif PLATFORM == 'Windows':
|
#elif PLATFORM == 'Windows':
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
|
|
|
||||||
|
|
@ -179,7 +179,6 @@ def running_as_root():
|
||||||
|
|
||||||
def scan_corestorage_container(container, timeout=300):
|
def scan_corestorage_container(container, timeout=300):
|
||||||
"""Scan CoreStorage container for inner volumes, returns list."""
|
"""Scan CoreStorage container for inner volumes, returns list."""
|
||||||
# TODO: Test Scanning CoreStorage containers
|
|
||||||
detected_volumes = {}
|
detected_volumes = {}
|
||||||
inner_volumes = []
|
inner_volumes = []
|
||||||
log_path = format_log_path(log_name=f'{container.path.name}_testdisk')
|
log_path = format_log_path(log_name=f'{container.path.name}_testdisk')
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ from wk.std import GenericError, GenericWarning, sleep
|
||||||
|
|
||||||
# STATIC VARIABLES
|
# STATIC VARIABLES
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
OS_VERSION = float(platform.win32_ver()[0]) # TODO: Check if Win8.1 returns '8'
|
OS_VERSION = float(platform.win32_ver()[0])
|
||||||
REG_MSISERVER = r'HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer'
|
REG_MSISERVER = r'HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer'
|
||||||
SLMGR = pathlib.Path(f'{os.environ.get("SYSTEMROOT")}/System32/slmgr.vbs')
|
SLMGR = pathlib.Path(f'{os.environ.get("SYSTEMROOT")}/System32/slmgr.vbs')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue