mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-03 17:58:55 +02:00
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:
parent
e4a6fe2194
commit
c452fb8157
3 changed files with 3 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ def format_taskgraph_json(taskgraph):
|
||||||
|
|
||||||
|
|
||||||
def format_taskgraph_yaml(taskgraph):
|
def format_taskgraph_yaml(taskgraph):
|
||||||
from mozbuild.util import ReadOnlyDict
|
from taskgraph.util.readonlydict import ReadOnlyDict
|
||||||
|
|
||||||
class TGDumper(yaml.SafeDumper):
|
class TGDumper(yaml.SafeDumper):
|
||||||
def ignore_aliases(self, data):
|
def ignore_aliases(self, data):
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,10 @@ import json
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from mozbuild.schedules import INCLUSIVE_COMPONENTS
|
from mozbuild.schedules import INCLUSIVE_COMPONENTS
|
||||||
from mozbuild.util import ReadOnlyDict
|
|
||||||
from taskgraph.transforms.base import TransformSequence
|
from taskgraph.transforms.base import TransformSequence
|
||||||
from taskgraph.util.attributes import keymatch
|
from taskgraph.util.attributes import keymatch
|
||||||
from taskgraph.util.keyed_by import evaluate_keyed_by
|
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.schema import Schema, resolve_keyed_by
|
||||||
from taskgraph.util.taskcluster import (
|
from taskgraph.util.taskcluster import (
|
||||||
get_artifact_path,
|
get_artifact_path,
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
from mozbuild.util import ReadOnlyDict
|
|
||||||
from taskgraph.task import Task
|
from taskgraph.task import Task
|
||||||
|
from taskgraph.util.readonlydict import ReadOnlyDict
|
||||||
|
|
||||||
immutable_types = {int, float, bool, str, type(None), ReadOnlyDict}
|
immutable_types = {int, float, bool, str, type(None), ReadOnlyDict}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue