fb068045b1c322d14ac488ecfbc698d158c7d630,dm_control/mjcf/debugging.py,DebugContext,process_and_raise_last_exception,#DebugContext#,222

Before Change


        message_lines.append(stripped_xml_line)

    message = "\n".join(message_lines)
    six.reraise(err_type, err_type(message), stack)

  @property
  def default_dump_dir(self):
    return get_full_dump_dir()

After Change


      if xml_line:
        message_lines.append(stripped_xml_line)

    raise err_type("\n".join(message_lines)).with_traceback(tb)

  @property
  def default_dump_dir(self):
    return get_full_dump_dir()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepmind/dm_control
Commit Name: fb068045b1c322d14ac488ecfbc698d158c7d630
Time: 2020-11-26
Author: alimuldal@google.com
File Name: dm_control/mjcf/debugging.py
Class Name: DebugContext
Method Name: process_and_raise_last_exception


Project Name: dask/distributed
Commit Name: 0ed877267febb5c2eb2b759b7f77d5de56a146c9
Time: 2019-09-12
Author: mrocklin@gmail.com
File Name: distributed/cfexecutor.py
Class Name:
Method Name: _cascade_future


Project Name: deepmind/dm_control
Commit Name: fb068045b1c322d14ac488ecfbc698d158c7d630
Time: 2020-11-26
Author: alimuldal@google.com
File Name: dm_control/mjcf/parser.py
Class Name:
Method Name: _parse_children