Commit 1213e1bc authored by Butkovits Atila's avatar Butkovits Atila
Browse files

Bug 1724830 - Lint fix. a=lint-fix

parent e5446261
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -1432,11 +1432,15 @@ class TreeMetadataEmitter(LoggingMixin):
                if mozpath.split(base)[0] == "res":
                    has_resources = True
                for f in files:
                    if var in (
                    if (
                        var
                        in (
                            "FINAL_TARGET_PP_FILES",
                            "OBJDIR_PP_FILES",
                            "LOCALIZED_PP_FILES",
                    ) and not isinstance(f, SourcePath):
                        )
                        and not isinstance(f, SourcePath)
                    ):
                        raise SandboxValidationError(
                            ("Only source directory paths allowed in " + "%s: %s")
                            % (var, f),