Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix prod l10n metric cron errors (again)

some prod translations' *parents* are missing modified
  • Loading branch information...
commit 38e7d92b2a25438b45f484eb6ba490dc2b3b90d5 1 parent 951ce4d
@groovecoder groovecoder authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  apps/kpi/
1  apps/kpi/
@@ -17,6 +17,7 @@ def update_l10n_metric():
translations = Document.objects.exclude(locale='en-US')
for translation in translations:
if (hasattr(translation, 'modified') and
+ hasattr(translation.parent, 'modified') and
translation.modified > translation.parent.modified):
up_to_date_translations += 1
Please sign in to comment.
Something went wrong with that request. Please try again.