pep8
This commit is contained in:
parent
d9231252dc
commit
62953360dc
1 changed files with 2 additions and 1 deletions
|
@ -68,6 +68,7 @@ def parse():
|
||||||
_data = _parse(buffer)
|
_data = _parse(buffer)
|
||||||
return _data
|
return _data
|
||||||
|
|
||||||
|
|
||||||
def get_by_type(type_id):
|
def get_by_type(type_id):
|
||||||
"""
|
"""
|
||||||
filter the output of dmidecode per type
|
filter the output of dmidecode per type
|
||||||
|
@ -130,7 +131,7 @@ def get_by_type(type_id):
|
||||||
|
|
||||||
|
|
||||||
def _execute_cmd():
|
def _execute_cmd():
|
||||||
return _subprocess.check_output(['dmidecode',], stderr=_subprocess.PIPE)
|
return _subprocess.check_output(['dmidecode', ], stderr=_subprocess.PIPE)
|
||||||
|
|
||||||
|
|
||||||
def _parse(buffer):
|
def _parse(buffer):
|
||||||
|
|
Loading…
Reference in a new issue