Skip to content

Commit

Permalink
Satisfy the linter gods
Browse files Browse the repository at this point in the history
  • Loading branch information
kgaughan committed Dec 1, 2024
1 parent dcd0956 commit 79af480
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/waitress/adjustments.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,9 @@ def parse_args(cls, argv):
try:
kw["app"] = pkgutil.resolve_name(app)
except (ValueError, ImportError, AttributeError) as exc:
raise AppResolutionError(f"Cannot import WSGI application '{app}': {exc}")
raise AppResolutionError(
f"Cannot import WSGI application '{app}': {exc}",
)
if kw["call"]:
kw["app"] = kw["app"]()

Expand Down

0 comments on commit 79af480

Please sign in to comment.