Commit 2514df81 authored by Laurent Claustre's avatar Laurent Claustre

Fixed conversion from map to list for py3 compatibility

parent 54b5a9b0
Pipeline #5827 failed with stages
in 9 minutes and 58 seconds
......@@ -54,7 +54,7 @@ def DEB_FUNCT(fn, in_global=True, frame=1, deb_container=None):
if sys.version_info < (3, 0):
fn_globals = dict(fn.__globals__)
cstr = map(to_cstring, [fn.__name__, '', filename])
cstr = list(map(to_cstring, [fn.__name__, '', filename]))
deb_obj = DebObj(deb_params, False, cstr[0], cstr[1], cstr[2], lineno)
fn_globals['deb'] = deb_obj
if deb_container is not None:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment