

def _write_success_info(self, metadata):
    "Writes 'Iteration succeeded: yes/no', followed by the error msg\n        if latest iteration didn't succeed.\n        "
    self.out.write((('Iteration succeeded: %s\n' % 'yes') if metadata['success'] else 'no'))
    if (not self['success']):
        self.out.write(('Error msg: %s\n' % metadata['msg']))

dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/recorders/dump_recorder.py DumpRecorder._write_success_info/VarMisuse@39/100 `metadata`->`self`