Skip to content
Permalink
Browse files
fix: multiext prefix computation in case it is used within a module t…
…hat defines an additional prefix (#1609)
  • Loading branch information
johanneskoester committed May 2, 2022
1 parent 16b78ff commit fc6dfc6469137a82382a36b9469190d967593759
Showing 1 changed file with 4 additions and 0 deletions.
@@ -47,6 +47,10 @@ def modify(self, path, property=None):
if not hasattr(modified_path, "flags"):
modified_path = AnnotatedString(modified_path)
modified_path.flags.update(path.flags)
if is_flagged(modified_path, "multiext"):
modified_path.flags["multiext"] = self.apply_default_remote(
self.replace_prefix(modified_path.flags["multiext"], property)
)
# Flag the path as modified and return.
modified_path = flag(modified_path, PATH_MODIFIER_FLAG, self)
return modified_path

0 comments on commit fc6dfc6

Please sign in to comment.