From 11d7cdfe2a6f3ffd056961cb2bb0364f14d63e89 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 19 Aug 2018 18:29:50 +0100 Subject: Revert "handle invalid package name, or nothing to upgrade cases" This reverts commit 74eeefd8f8c757a68014219ebd0a1eb90f360b0c. --- src/backend/libsisyphus.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py index 22292ca..30baffc 100644 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -241,8 +241,6 @@ def solvePkgDeps(pkgList): if "/" in portageOutput.rstrip(): pkgDep = str(portageOutput.rstrip().split("]")[1].strip("\ ")) pkgDeps.append(pkgDep) - else: - sys.exit("\n" + "Unable to find package(s); quitting." + "\n") return pkgDeps # call portage to solve world dependencies (CLI frontend) @@ -258,8 +256,6 @@ def solveWorldDeps(): worldDep = str(portageOutput.rstrip().split("]")[ 1].split("[")[0].strip("\ ")) worldDeps.append(worldDep) - else: - sys.exit("\n" + "Nothing to upgrade; quitting." + "\n") return worldDeps # fetch binaries and call portage to install the package(s) from local cache (CLI frontend) -- cgit v1.2.3