summaryrefslogtreecommitdiff
path: root/buildstream/_frontend/complete.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_frontend/complete.py')
-rw-r--r--buildstream/_frontend/complete.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_frontend/complete.py b/buildstream/_frontend/complete.py
index d7b7d5b40..1dbdaadb1 100644
--- a/buildstream/_frontend/complete.py
+++ b/buildstream/_frontend/complete.py
@@ -203,7 +203,7 @@ def is_incomplete_option(all_args, cmd_param):
if start_of_option(arg_str):
last_option = arg_str
- return True if last_option and last_option in cmd_param.opts else False
+ return bool(last_option and last_option in cmd_param.opts)
def is_incomplete_argument(current_params, cmd_param):