Revert "black: re-format"
This reverts commit 5731818de0ce446ceaafc7e75ae39da1b69942ae.
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
Change-Id: Ie61cdc8c7f2825b0d9d66be87a6a3a058de2b372
diff --git a/lib/vpd_utils.py b/lib/vpd_utils.py
index 754d255..03581bb 100644
--- a/lib/vpd_utils.py
+++ b/lib/vpd_utils.py
@@ -5,9 +5,8 @@
"""
import json
-
-import bmc_ssh_utils as bsu
import func_args as fa
+import bmc_ssh_utils as bsu
def vpdtool(option_string, **bsu_options):
@@ -45,14 +44,12 @@
"""
bsu_options = fa.args_to_objects(bsu_options)
- out_buf, stderr, rc = bsu.bmc_execute_command(
- "vpd-tool " + option_string, **bsu_options
- )
+ out_buf, stderr, rc = bsu.bmc_execute_command('vpd-tool ' + option_string, **bsu_options)
# Only return output if its not a VPD write command.
- if "-w" not in option_string:
+ if '-w' not in option_string:
out_buf = json.loads(out_buf)
- if "-r" in option_string:
+ if '-r' in option_string:
return out_buf
else:
return out_buf[0]