Commit eb12729b authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents 4616a8b4 f03854de
......@@ -948,7 +948,8 @@ class Unit(models.Model):
self.cleanup_checks(old_source_checks, old_target_checks)
# Update failing checks flag
for unit in Unit.objects.same(self):
self.update_has_failing_check()
for unit in Unit.objects.same(self).exclude(id=self.id):
unit.update_has_failing_check()
def update_has_failing_check(self):
......
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