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

Merge remote-tracking branch 'origin/master'

parents d8e89574 facdaf5a
......@@ -154,7 +154,7 @@ def auto_translation(request, project, subproject, lang):
subprj = SubProject.objects.get(project = obj.subproject.project, slug = autoform.cleaned_data['subproject'])
sources = sources.filter(translation__subproject = subprj)
for unit in units:
for unit in units.iterator():
update = sources.filter(checksum = unit.checksum)
if update.count() > 0:
# Get first entry
......
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