This is an automated email from the ASF dual-hosted git repository.

juergbi pushed a commit to branch juerg/junction-aliases
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 05d4c14fb17b6cb45723dca7bdecb685db833f21
Author: Jürg Billeter <[email protected]>
AuthorDate: Fri Apr 5 14:29:47 2024 +0200

    fixup! fixup! Support mapping subproject aliases to aliases of the parent 
project
---
 src/buildstream/_project.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/buildstream/_project.py b/src/buildstream/_project.py
index f174f233a..97ee13127 100644
--- a/src/buildstream/_project.py
+++ b/src/buildstream/_project.py
@@ -845,7 +845,7 @@ class Project:
         junctions_node = pre_config_node.get_mapping("junctions", default={})
         junctions_node.validate_keys(["duplicates", "internal", 
"disallow-subproject-uris"])
 
-        if self.junction and not 
self.junction._get_project().disallow_subproject_uris:
+        if self.junction and 
self.junction._get_project().disallow_subproject_uris:
             # If the parent project doesn't allow subproject URIs, this must
             # be enforced for nested subprojects as well.
             self.disallow_subproject_uris = True

Reply via email to