treat deliverable files as utf-8 in edit-deliverable

Change-Id: Iaf5b35f7037fbff0ee74ced2d9bfac94a1b5981c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-08-01 13:43:37 -04:00
parent 842b728e20
commit eef369f83b

View File

@ -24,7 +24,7 @@ import yaml
def get_deliverable_data(series, deliverable):
deliverable_filename = 'deliverables/%s/%s.yaml' % (
series, deliverable)
with open(deliverable_filename, 'r') as f:
with open(deliverable_filename, 'r', encoding='utf-8') as f:
return yaml.safe_load(f)