Comment 4 for bug 1988976

Revision history for this message
Adam Collard (adam-collard) wrote (last edit ): Re: [Bug 1988976] Re: More than one ScriptResult traceback when processing commissioning

> It seems that there has been a fix to not use get_or_create anymore.
>

I disagree, we are still using get_or_create
```
        script_result, _ = script_set.scriptresult_set.get_or_create(
            script_name=script_name,
            defaults={
                "script_id": script_id,
                "status": SCRIPT_STATUS.RUNNING,
            },
        )
 ```