From 93aad5d3d5ef20d0fdc1ecac726c6fa33f4115c3 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Thu, 10 Apr 2025 14:58:36 -0700 Subject: [PATCH] Update unbundle to handle cycles mixer-tools is now able to handle cycles so remove the requirement for no cycles. Signed-off-by: William Douglas --- unbundle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unbundle b/unbundle index d4bfd50..41338d3 100755 --- a/unbundle +++ b/unbundle @@ -34,8 +34,7 @@ def resolve_includes(bundle_name, bundle_path, content, bundles=False, path=set( elif line.startswith("include("): inc_bundle = line[line.find("(")+1:line.find(")")] if inc_bundle in path: - print(f"Error cycle detected: {inc_bundle} is part of a loop in bundles {path}.") - return False + return True success = resolve_includes(inc_bundle, bundle_path, content, bundles, path) if not success: return False