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):
|
def ost_build_report(dev, dev_type):
|
||||||
|
# pylint: disable=too-many-branches
|
||||||
"""Build report for posting to osTicket, returns str."""
|
"""Build report for posting to osTicket, returns str."""
|
||||||
report = []
|
report = []
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -151,6 +151,7 @@ class CpuRam(BaseObj):
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_serial_number(self):
|
def get_serial_number(self):
|
||||||
|
"""Get Mac serial number, returns str."""
|
||||||
if PLATFORM == 'Darwin':
|
if PLATFORM == 'Darwin':
|
||||||
cmd = (
|
cmd = (
|
||||||
'ioreg -c IOPlatformExpertDevice -d 2'
|
'ioreg -c IOPlatformExpertDevice -d 2'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue