Skip to content
Snippets Groups Projects
Commit 61c6680f authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

Fix unnecessary usage of `if`.

parent 2545f970
No related branches found
No related tags found
No related merge requests found
...@@ -771,7 +771,7 @@ def main(): ...@@ -771,7 +771,7 @@ def main():
elif state == "absent": elif state == "absent":
if action == "service": if action == "service":
if res_find is not None: if res_find is not None:
args = {'continue': True if delete_continue else False} args = {'continue': delete_continue}
commands.append([name, 'service_del', args]) commands.append([name, 'service_del', args])
elif action == "member": elif action == "member":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment