| |
@@ -148,7 +148,7 @@
|
| |
raise IOError("Provided modulemd file is not a yaml file.")
|
| |
|
| |
yaml_file_path = os.path.abspath(yaml_file)
|
| |
- with open(yaml_file_path) as fd:
|
| |
+ with open(yaml_file_path, "rb") as fd:
|
| |
filename = os.path.basename(yaml_file)
|
| |
handle = FileStorage(fd)
|
| |
handle.filename = filename
|
| |
When starting a local build, we now need to pass a raw stream to
submit_module_build_from_yaml, not a text stream. (This fixes a
regression where local builds haven't worked since 0f76fd5)