Commit 5b6a588f authored by Seblu's avatar Seblu

Fix traceback when EOF in package selection

parent 56f5023d
......@@ -288,7 +288,10 @@ def select_packages(packages, select_all=False):
print("{:{pad}} {}".format(i, pkg, pad=pad))
selection = ""
while not match("^(\d+ ){0,}\d+$", selection):
selection = input("Select packages (* for all): ").strip()
except EOFError:
if selection == "":
# shortcut to select all packages
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment