Message334321
https://github.com/borgbackup/borg/pull/4247/files
this is the current code i have for this (it is not as simple there as in the minimal code samples i attached here).
i meanwhile think i can not use a contextmanager there.
do you think this is as good as it gets for this kind of code?
if you all think this is expected behaviour for the python contextmanagers and can't be done better, this issue can be closed. |
|
Date |
User |
Action |
Args |
2019-01-24 20:23:32 | Thomas.Waldmann | set | recipients:
+ Thomas.Waldmann, skrah, eryksun, xtreak |
2019-01-24 20:23:30 | Thomas.Waldmann | set | messageid: <1548361410.52.0.507207160807.issue35686@roundup.psfhosted.org> |
2019-01-24 20:23:30 | Thomas.Waldmann | link | issue35686 messages |
2019-01-24 20:23:30 | Thomas.Waldmann | create | |
|