Skip to content

Commit

Permalink
delete duplicate locales task | Updated log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Aug 6, 2021
1 parent c2d4721 commit 4bab1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/common/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def delete_duplicate_locales(start_from=None): # pragma: no cover
total = queryset.count()
batch_size = 1000

logger.info('%d concepts with duplicate locales. Getting them in batches of %d...' % (total, batch_size)) # pylint: disable=logging-not-lazy
logger.info('%d concepts with more than one locales. Getting them in batches of %d...' % (total, batch_size)) # pylint: disable=logging-not-lazy

for start in range(start_from, total, batch_size):
end = min(start + batch_size, total)
Expand Down

0 comments on commit 4bab1f8

Please sign in to comment.