teuthology-openstack: strip out unicode tags for interim test repo yaml
When json file loads from file for --test-repo it is converted
to u'' instead of bare str. Later yaml.dump includes unicode
tags in resulting yaml which makes teuthology-suite fail and
throw an exception.
@@ -692,7 +692,7 @@ class TeuthologyOpenStack(OpenStack):
}
}
}
- yaml_data = yaml.dump(overrides, default_flow_style=False)
+ yaml_data = yaml.safe_dump(overrides, default_flow_style=False)
with tempfile.NamedTemporaryFile(mode='w+b',
suffix='-artifact.yaml',
delete=False) as f:
