Commit b5c3185
authored
Merge pull request #659 from cderici/attach-resource-binary-file
#659
#### Description
The `attach-resource` method on pylibjuju assumes the resource read is plain text, so it borks when it gets a binary file as a resource.
Fixes #654
#### QA Steps
```sh
tox -e integration -- tests/integration/test_model.py::test_attach_resource
```
#### Notes & Discussion2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
| 445 | + | |
445 | 446 | | |
446 | 447 | | |
447 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
663 | 666 | | |
664 | 667 | | |
665 | 668 | | |
| |||
0 commit comments