diff options
author | Helmut Grohne <helmut@subdivi.de> | 2021-07-06 14:02:29 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2021-07-06 14:02:29 +0200 |
commit | fa06dfa5575841bb60dd83bc46426f1a7d737b9b (patch) | |
tree | 8b6bb5c309fc61584af6dd79fe5c0b031dd429b4 /LICENSE | |
parent | 58e77f47adf737c27e87e185adfe437dfebed6df (diff) | |
download | mdbp-fa06dfa5575841bb60dd83bc46426f1a7d737b9b.tar.gz |
pbuilder: use an ExitStack
Doing so bears three advantages:
* Adding more context managers - especially conditional ones - becomes
easier.
* Context managers can be delayed until the point where they're
actually needed without adding to indentation.
* We get rid of two local variables. Less state in your head.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions