Commit b9701c13 authored by Michal Čihař's avatar Michal Čihař

Remove not needed condition

There is always at least one unit - current one.
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent d7ce64a6
......@@ -634,8 +634,6 @@ class Unit(models.Model):
translation__subproject=self.translation.subproject,
context=self.context,
)
if not same_source.exists():
return
# Update source and contentsum
previous_source = same_source[0].source
same_source.update(
......
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