Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 3, 2022
1 parent 33e0ae5 commit 3f18cfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aiohttp/__init__.py
Expand Up @@ -215,6 +215,7 @@ def __getattr__(name):
# Importing gunicorn takes a long time (>100ms), so only import if actually needed.
if name in ("GunicornUVLoopWebWorker", "GunicornWebWorker"):
from .worker import GunicornUVLoopWebWorker as guv, GunicornWebWorker as gw

GunicornUVLoopWebWorker = guv
GunicornWebWorker = gw
return guv if name == "GunicornUVLoopWebWorker" else gw
Expand Down

0 comments on commit 3f18cfa

Please sign in to comment.