Skip to content

Commit

Permalink
Merge pull request #126 from inoryy/patch-1
Browse files Browse the repository at this point in the history
fix for Python 3.8 BC breaking logging API change
  • Loading branch information
yilei authored Dec 13, 2019
2 parents 22caa20 + 0daab40 commit 928bb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/logging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ class ABSLLogger(logging.getLoggerClass()):
"""
_frames_to_skip = set()

def findCaller(self, stack_info=False):
def findCaller(self, stack_info=False, stacklevel=1):
"""Finds the frame of the calling method on the stack.
This method skips any frames registered with the
Expand Down

0 comments on commit 928bb94

Please sign in to comment.