juergbi commented on code in PR #1906:
URL: https://github.com/apache/buildstream/pull/1906#discussion_r1543290402


##########
src/buildstream/_project.py:
##########
@@ -786,7 +815,14 @@ def _load(self, *, parent_loader=None, 
provenance_node=None):
 
         # Junction configuration
         junctions_node = pre_config_node.get_mapping("junctions", default={})
-        junctions_node.validate_keys(["duplicates", "internal"])
+        junctions_node.validate_keys(["duplicates", "internal", 
"disallow-subproject-uris"])
+
+        if self.junction and not 
self.junction._get_project().disallow_subproject_uris:

Review Comment:
   ```suggestion
           if self.junction and 
self.junction._get_project().disallow_subproject_uris:
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to