Removed extraneous whitespace

This commit is contained in:
2Shirt 2019-03-12 22:49:25 -06:00
parent 122bbfb157
commit 75df9777b3
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -6,7 +6,7 @@ from functions.common import *
def get_json_from_command(cmd, ignore_errors=True):
"""Capture JSON content from cmd output, returns dict.
If the data can't be decoded then either an exception is raised
or an empty dict is returned depending on ignore_errors.
"""
@ -22,7 +22,7 @@ def get_json_from_command(cmd, ignore_errors=True):
except (subprocess.CalledProcessError, json.decoder.JSONDecodeError):
if not ignore_errors:
raise
return json_data