Skip to content

Commit

Permalink
Update ddtrace/internal/safety.py
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriele N. Tornetta <[email protected]>
  • Loading branch information
emmettbutler and P403n1x87 authored Sep 14, 2023
1 parent 3067220 commit 3874a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddtrace/internal/safety.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __call__(self, *args, **kwargs):

def __getattribute__(self, name):
# type: (str) -> Any
if PYTHON_VERSION_INFO[0:2] < (3, 12) and name == "__wrapped__":
if PYTHON_VERSION_INFO < (3, 12) and name == "__wrapped__":
raise AttributeError("Access denied")

return super(SafeObjectProxy, self).__getattribute__(name)
Expand Down

0 comments on commit 3874a0a

Please sign in to comment.