Skip to content

Commit

Permalink
fixup! 🤡 Add context managers
Browse files Browse the repository at this point in the history
  • Loading branch information
michprev committed Sep 23, 2024
1 parent 56da320 commit af88ace
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion wake/utils/connect_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ def __call__(self, fn):
def wrapper(*args, **kwargs):
with self:
return fn(*args, **kwargs)
return wrapper

return wrapper
1 change: 0 additions & 1 deletion wake/utils/snapshot_revert_context.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

class SnapshotRevertContext:
def __init__(self, chain):
self.chain = chain
Expand Down

0 comments on commit af88ace

Please sign in to comment.