390883c17d
I'm going to want to use this in a later change so lets make the abstraction now Change-Id: I0d15b5137d857bffb2bed39e995e50fed24f5598
24 lines
799 B
Python
24 lines
799 B
Python
# All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
"""Simple wrapper(s) around liaison data"""
|
|
|
|
import yaml
|
|
|
|
|
|
def get_liaisons():
|
|
with open("./data/release_liaisons.yaml", "r") as f:
|
|
liaison_data = yaml.safe_load(f)
|
|
return liaison_data
|