A context manager to block database access would be useful
Bug #617182 reported by
Jamu Kakar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
Fix Released
|
Low
|
Jamu Kakar |
Bug Description
Providing a simple block_access context manager would save users of
Store.block_access and Store.unblock_
boilerplate they need to ensure stores get unblocked appropriately.
Related branches
lp://staging/~jkakar/storm/block-access-context-manager
- Colin Watson (community): Approve
- James Henstridge: Approve
- Stuart Bishop (community): Approve
-
Diff: 91 lines (+79/-0)2 files modifiedstorm/store.py (+18/-0)
tests/store/block.py (+61/-0)
Changed in storm: | |
milestone: | none → 0.18 |
assignee: | nobody → Jamu Kakar (jkakar) |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in storm: | |
milestone: | 0.18 → 0.19 |
Changed in storm: | |
milestone: | 0.19 → 0.20 |
Changed in storm: | |
milestone: | 0.20 → 0.21 |
Changed in storm: | |
milestone: | 0.21 → 0.22 |
Changed in storm: | |
milestone: | 0.22 → 0.23 |
To post a comment you must log in.
Fixed in Storm 0.23.