Commit cb47bb83 authored by Jérome Perrin's avatar Jérome Perrin

fixup! fixup! py2/py3: Make Products code compatible with both python2 and python3.

parent cc740218
......@@ -37,7 +37,7 @@ def dump_threads():
Returns a string with the tracebacks.
"""
this_thread_id = thread.get_ident()
this_thread_id = _thread.get_ident()
now = time.strftime("%Y-%m-%d %H:%M:%S")
res = ["Threads traceback dump at %s\n" % now]
for thread_id, frame in six.iteritems(_current_frames()):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment