Skip to content

Commit

Permalink
Merge c00d5c7 into 9951ec1
Browse files Browse the repository at this point in the history
  • Loading branch information
jossef committed Oct 5, 2020
2 parents 9951ec1 + c00d5c7 commit 8efd356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tlslite/utils/deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _func(*args, **kwargs):
# isinstance(old_name(), new_name) to work
frame = inspect.currentframe().f_back
code = inspect.getframeinfo(frame).code_context
if [line for line in code
if code and [line for line in code
if '{0}('.format(old_name) in line]:
_warn()
else:
Expand Down

0 comments on commit 8efd356

Please sign in to comment.