Skip to content

Commit

Permalink
Fix coding style to satisfy pycodestyle
Browse files Browse the repository at this point in the history
Signed-off-by: BenjiReis <[email protected]>
  • Loading branch information
benjamreis committed Aug 1, 2023
1 parent 81db96b commit 2fa3e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def xe(self, action, args={}, check=True, simple_output=True, minimal=False):
maybe_param_minimal = ['--minimal'] if minimal else []

def stringify(key, value):
if type(value) == bool:
if isinstance(value, bool):
return "{}={}".format(key, to_xapi_bool(value))
return "{}={}".format(key, shlex.quote(value))

Expand Down

0 comments on commit 2fa3e69

Please sign in to comment.