Skip to content
Snippets Groups Projects
Unverified Commit 35d73613 authored by Luca Weiss's avatar Luca Weiss Committed by Alexey Minnekhanov
Browse files

pmb.aportgen: fix architecture autocomplete (MR 2054)

Previously hitting the tab key wouldn't actually complete the
architecture field.
parent fc5edc4c
No related branches found
No related tags found
No related merge requests found
Pipeline #190260 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