Commit 5b6a588f authored by Seblu's avatar Seblu
Browse files

Fix traceback when EOF in package selection

parent 56f5023d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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):
            try:
                selection = input("Select packages (* for all): ").strip()
            except EOFError:
                return
            if selection == "":
                return
            # shortcut to select all packages