Add even more pylint cleanup fixes
This commit is contained in:
parent
af09772d67
commit
d0b8b3ad57
2 changed files with 2 additions and 0 deletions
|
|
@ -1308,6 +1308,7 @@ def network_test():
|
|||
|
||||
|
||||
def ost_build_report(dev, dev_type):
|
||||
# pylint: disable=too-many-branches
|
||||
"""Build report for posting to osTicket, returns str."""
|
||||
report = []
|
||||
|
||||
|
|
|
|||
|
|
@ -151,6 +151,7 @@ class CpuRam(BaseObj):
|
|||
]
|
||||
|
||||
def get_serial_number(self):
|
||||
"""Get Mac serial number, returns str."""
|
||||
if PLATFORM == 'Darwin':
|
||||
cmd = (
|
||||
'ioreg -c IOPlatformExpertDevice -d 2'
|
||||
|
|
|
|||
Loading…
Reference in a new issue