Skip to content
Snippets Groups Projects
Unverified Commit 12872837 authored by Luca Weiss's avatar Luca Weiss Committed by Clayton Craft
Browse files

pmb.aportgen: fix architecture autocomplete (MR 2054)

Previously hitting the tab key wouldn't actually complete the
architecture field.
parent 028e5299
No related branches found
No related tags found
No related merge requests found
Pipeline #190254 failed
......@@ -16,7 +16,7 @@ def ask_for_architecture(args):
architectures.remove("armhf")
while True:
ret = pmb.helpers.cli.ask(args, "Device architecture", architectures,
architectures[0])
architectures[0], complete=architectures)
if ret in architectures:
return ret
logging.fatal("ERROR: Invalid architecture specified. If you want to"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment