Skip to content

Commit

Permalink
fix warning stacklevel
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Feb 8, 2024
1 parent d918c8f commit b2e6f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyramid/static.py
Expand Up @@ -104,7 +104,7 @@ def __init__(
f' If this is done to override an asset, you must adjust'
f' this to override a location inside a real package.',
DeprecationWarning,
stacklevel=1,
stacklevel=2,
)
self.use_subpath = use_subpath
self.package_name = package_name
Expand Down

0 comments on commit b2e6f36

Please sign in to comment.