Commit 97ad1206 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[2172] minor cleanup

parent 0336d2de
......@@ -143,7 +143,6 @@ def _my_bsd_subprocess_check_output(command):
def _my_openbsd_subprocess_check_output(command):
assert type(command) == list, 'command argument is not a list'
bsd_output = _my_bsd_subprocess_check_output(command)
if command == ['sysctl', '-n', 'kern.boottime']:
return bytes(str(int(time.time() - 76632)), 'utf-8')
elif command == ['sysctl', '-n', 'vm.loadavg']:
......@@ -155,6 +154,7 @@ def _my_openbsd_subprocess_check_output(command):
elif command == ['route', '-n', 'show']:
return b'XfizswwNA9NkXz6K36ZExpjV08Y5IXkHI8jjDSV+5Nc=\n'
bsd_output = _my_bsd_subprocess_check_output(command)
if bsd_output is not None:
return bsd_output
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment