Skip to content

Commit 8076482

Browse files
committed
precommit hooks
1 parent 2b8790a commit 8076482

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jupyter_client/manager.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Copyright (c) Jupyter Development Team.
33
# Distributed under the terms of the Modified BSD License.
44
import asyncio
5-
import os
65
import functools
6+
import os
77
import re
88
import signal
99
import sys
@@ -57,6 +57,7 @@ def in_pending_state(method):
5757
creating a fresh Future for the KernelManager's `ready`
5858
attribute. Once the method is finished, set the Future's results.
5959
"""
60+
6061
@functools.wraps(method)
6162
async def wrapper(self, *args, **kwargs):
6263
# Create a future for the decorated method
@@ -75,6 +76,7 @@ async def wrapper(self, *args, **kwargs):
7576
except Exception as e:
7677
self._ready.set_exception(e)
7778
self.log.exception(self._ready.exception())
79+
7880
return wrapper
7981

8082

0 commit comments

Comments
 (0)