[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [craft] bin: Ignore env issues for now
From: Hannah von Reth <null () kde ! org>
Date: 2018-09-27 10:40:32
Message-ID: E1g5Tii-00074I-PV () code ! kde ! org
[Download RAW message or body]
Git commit 4df0df6484d707c249a207eb43589ee0bbfa9772 by Hannah von Reth.
Committed on 27/09/2018 at 10:40.
Pushed by vonreth into branch 'master'.
Ignore env issues for now
M +2 -3 bin/CraftSetupHelper.py
https://commits.kde.org/craft/4df0df6484d707c249a207eb43589ee0bbfa9772
diff --git a/bin/CraftSetupHelper.py b/bin/CraftSetupHelper.py
index 94c9a3895..a5b491ee0 100644
--- a/bin/CraftSetupHelper.py
+++ b/bin/CraftSetupHelper.py
@@ -183,11 +183,10 @@ class SetupHelper(object):
@staticmethod
def stringToEnv(string : str):
for line in string.strip().split("\n"):
- if not line:
- continue
kv = line.strip().split("=", 1)
if len(kv) != 2:
- raise Exception(f"Failed to parse environment variable: {line}\n{string.encode()}")
+ log(f"Failed to parse environment variable: {line}\n{string}")
+ continue
# TODO: why?
if kv[0] == "Path":
kv[0] = "PATH"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic