diff --git a/utils.py b/utils.py index 3bb53ce..cc4b441 100644 --- a/utils.py +++ b/utils.py @@ -32,13 +32,13 @@ def parse_pkgbuild(pkgbuild_file: str) -> dict: os.chdir(sys.path[0]) if res.returncode: - logging.warning("[PKGBUILD] makekg failed: %s", res.stdout.decode(errors="ignore")) + logging.warning("[PKGBUILD/%s] makepkg failed: %s", pkgbuild_path.name, res.stdout.decode(errors="ignore")) return {} (parsed, errors) = parse_srcinfo(res.stdout.decode(errors="ignore")) if errors: - logging.warning("[PKGBUILD] Failed to parse %s: %s", pkgbuild_path.name, errors) + logging.warning("[PKGBUILD/%s] Failed to parse: %s", pkgbuild_path.name, errors) return {} return parsed