Commit 230a8c6
committed
fix(client): convert client.yaml to client.json once if needed
Our use of YAML was very restricted, so a set of python string
replace calls converts it to valid JSON without requiring PyYAML.
If that succeeds, delete the old ~/.deis/client.yaml file, otherwise
ignore errors and just use ~/.deis/client.json from now on.1 parent e4d0b37 commit 230a8c6
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
192 | 204 | | |
193 | | - | |
| 205 | + | |
194 | 206 | | |
195 | 207 | | |
196 | 208 | | |
| |||
0 commit comments