diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-22 10:52:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-22 10:52:13 +0100 |
commit | 0ec26c657839aab835eef0e5dd9ac8df9dfc6c88 (patch) | |
tree | efec5b5b93cbca5f415e393ff1e65c20f3ac90b2 /src/backend/plm.patch | |
parent | a369b55db38f9a3f295686f9c6363c894bb49a48 (diff) |
libsisyphus.py : fix breakage introduced in 8dc2ab082f49b4bfaa9a4de05fe97bbddaf1eecf
Diffstat (limited to 'src/backend/plm.patch')
-rw-r--r-- | src/backend/plm.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/backend/plm.patch b/src/backend/plm.patch deleted file mode 100644 index 2e203bd..0000000 --- a/src/backend/plm.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py -index 9512621..b0c7f8e 100644 ---- a/src/backend/libsisyphus.py -+++ b/src/backend/libsisyphus.py -@@ -87,7 +87,11 @@ def getPkgDeps(pkgList): - for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): - if "/" in portageOutput.rstrip(): - pkgDep = str(portageOutput.rstrip().split("]")[1].split("[")[0].strip("\ ")) -- if not "blocks" and not "uninstall" in pkgDep: -+ if "blocks" in pkgDep: -+ pass -+ elif "uninstall" in pkgDep: -+ pass -+ else: - pkgDeps.append(pkgDep) - return pkgDeps - -@@ -99,7 +103,11 @@ def getWorldDeps(): - for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): - if "/" in portageOutput.rstrip(): - worldDep = str(portageOutput.rstrip().split("]")[1].split("[")[0].strip("\ ")) -- if not "blocks" and not "uninstall" in worldDep: -+ if "blocks" in worldDep: -+ pass -+ elif "uninstall" in worldDep: -+ pass -+ else: - worldDeps.append(worldDep) - return worldDeps - |