Commit 5657e487 authored by Michal Čihař's avatar Michal Čihař

This is too common error to log

parent f5000c0d
......@@ -426,7 +426,7 @@ class Translation(models.Model):
if unit1 is None:
unit1 = store1.findunit(unit2.source)
if unit1 is None:
logger.error("The template does not contain the following unit:\n%s", str(unit2))
continue
else:
if len(unit2.target.strip()) == 0:
continue
......
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