def __str__(self):
    return textwrap.dedent('        Ran command: {command}\n        Error message:\n        {error_message}\n        ').format(command=pretty_print_command(self.command), error_message=self.error_message)
def __str__(self):
    return textwrap.dedent('        Ran command: {command}\n        Error message:\n        {error_message}\n        ').format(command=pretty_print_command(self.command), error_message=self.error_message)