git » repo-mgmt.git » commit f4165e6

little fixup (cant splitlines a Return, have to make it a string...)

author Urja (ARMLFS builder)
2025-09-23 08:28:11 UTC
committer Urja (ARMLFS builder)
2025-09-23 08:28:11 UTC
parent 2f81fb5187e7045f62b3fbf43a72b5d31ad8607b

little fixup (cant splitlines a Return, have to make it a string...)

publish-pkg.py +1 -1

diff --git a/publish-pkg.py b/publish-pkg.py
index 50586ea..0ec1b3c 100755
--- a/publish-pkg.py
+++ b/publish-pkg.py
@@ -34,7 +34,7 @@ def builddir(pkg):
     cmd = [ "tar", "-xO", "--force-local", "--occurrence=1", "-f", pkg, ".BUILDINFO" ]
     info = subc(cmd, capture_output=True, text=True)
     pfx = "builddir = "
-    for L in info.splitlines():
+    for L in str(info).splitlines():
         if L.startswith(pfx):
             return L[len(pfx):].strip()
     return None