Skip to content
Snippets Groups Projects
Commit 7daa8059 authored by Mitchell Allison's avatar Mitchell Allison
Browse files

Fixes issue where pre-providing an answer on a machine with only one platform...

Fixes issue where pre-providing an answer on a machine with only one platform will throw a RuntimeError.
parent 2960fa18
Branches
Tags
No related merge requests found
...@@ -818,8 +818,6 @@ def create_some_context(interactive=None, answers=None): ...@@ -818,8 +818,6 @@ def create_some_context(interactive=None, answers=None):
if not platforms: if not platforms:
raise Error("no platforms found") raise Error("no platforms found")
elif len(platforms) == 1:
platform, = platforms
else: else:
if not answers: if not answers:
cc_print("Choose platform:") cc_print("Choose platform:")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment