Bug 1901281 - [ci] Replace 'mozbuild.util.ReadOnlyDict' with 'taskgraph.util.readonlydict.ReadOnlyDict', a=RyanVM

Original Revision: https://phabricator.services.mozilla.com/D213426

Differential Revision: https://phabricator.services.mozilla.com/D215658
This commit is contained in:
Andrew Halberstadt 2024-07-03 19:54:49 +00:00
parent e4a6fe2194
commit c452fb8157
3 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ def format_taskgraph_json(taskgraph):
def format_taskgraph_yaml(taskgraph):
from mozbuild.util import ReadOnlyDict
from taskgraph.util.readonlydict import ReadOnlyDict
class TGDumper(yaml.SafeDumper):
def ignore_aliases(self, data):

View file

@ -8,10 +8,10 @@ import json
import re
from mozbuild.schedules import INCLUSIVE_COMPONENTS
from mozbuild.util import ReadOnlyDict
from taskgraph.transforms.base import TransformSequence
from taskgraph.util.attributes import keymatch
from taskgraph.util.keyed_by import evaluate_keyed_by
from taskgraph.util.readonlydict import ReadOnlyDict
from taskgraph.util.schema import Schema, resolve_keyed_by
from taskgraph.util.taskcluster import (
get_artifact_path,

View file

@ -2,8 +2,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from mozbuild.util import ReadOnlyDict
from taskgraph.task import Task
from taskgraph.util.readonlydict import ReadOnlyDict
immutable_types = {int, float, bool, str, type(None), ReadOnlyDict}