Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ Fixed
* Fixed a regression in the ``linux.dig`` action on Python 3. (bug fix) #4993

Contributed by @blag
* Fixed a compatibility issue with the latest version of the ``logging`` library API
where the ``find_caller()`` function introduced some new variables. (bug fix)
Comment thread
nmaludy marked this conversation as resolved.
Outdated

Contributed by @Dahfizz9897

Removed
~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion st2common/st2common/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
_srcfile = get_normalized_file_path(__file__)


def find_caller(stack_info=None):
def find_caller(*args, **kwargs):
"""
Find the stack frame of the caller so that we can note the source file name, line number and
function name.
Expand Down