Commit c5a6226
committed
script/backport-create-issue: handle ResourceAttrError when getting CF_TAGS
Older versions of python-redmine may raise ResourceAttrError here
instead of returning None, see [1]. Being prepared for an exception
seems like a good idea regardless given how this field recently got
recreated.
[1] maxtepkeev/python-redmine@0de5689
Signed-off-by: Ilya Dryomov <[email protected]>1 parent 3956c42 commit c5a6226
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
323 | 322 | | |
324 | 323 | | |
325 | 324 | | |
326 | | - | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
| |||
0 commit comments