diff options
Diffstat (limited to 'python38.patch')
-rw-r--r-- | python38.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/python38.patch b/python38.patch deleted file mode 100644 index 932af17380f2..000000000000 --- a/python38.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/tools/rosgraph/src/rosgraph/roslogging.py -+++ b/tools/rosgraph/src/rosgraph/roslogging.py -@@ -49,12 +49,12 @@ from rospkg.environment import ROS_LOG_DIR - class LoggingException(Exception): pass - - class RospyLogger(logging.getLoggerClass()): -- def findCaller(self, dummy=False): # Dummy second arg to match Python3 function declaration -+ def findCaller(self, *args, **kwargs): - """ - Find the stack frame of the caller so that we can note the source - file name, line number, and function name with class name if possible. - """ -- file_name, lineno, func_name = super(RospyLogger, self).findCaller()[:3] -+ file_name, lineno, func_name = super(RospyLogger, self).findCaller(*args, **kwargs)[:3] - - f = inspect.currentframe() - if f is not None: |