summaryrefslogtreecommitdiff
path: root/include/init.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-09-25 23:54:16 +0100
committerLeah Rowe <leah@libreboot.org>2025-09-25 23:54:16 +0100
commitf5060232e16ab1c041f0108a5f65d8f96f79756d (patch)
tree1bd3ba4eb56ec702c105225741dc43e2476a7881 /include/init.sh
parent0303167e25c2bb5856eb2fe15694d8081543623a (diff)
init.sh: remove TODO note
on further inspection, the following check ensures that the python version number is 3. if anything went wrong, the possibility alluded to in the comment wouldn't actually matter in practise. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/init.sh')
-rw-r--r--include/init.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/init.sh b/include/init.sh
index 0ce8fdf5..488b87f0 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -299,9 +299,6 @@ xbmk_set_pyver()
fi
if [ -n "$pyver" ]; then
- # TODO: very sus; possible holes in error management
- # TODO: maybe use sed?
-
pyver="$("$(pybin "$python")" -c "$pyv" | awk '{print $1}')"
pyver="${pyver#(}"
pyver="${pyver%,}"