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

Fix range import

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent f882d60e
......@@ -25,7 +25,7 @@ from django.utils.encoding import python_2_unicode_compatible
from django.utils.translation import ugettext as _, ugettext_lazy
from django.utils import timezone
from django.utils.encoding import force_text
import six
import six.moves
from weblate.trans.models.project import Project
from weblate.accounts.avatar import get_user_display
......@@ -53,7 +53,7 @@ class ChangeManager(models.Manager):
# Count number of changes
result = []
for dummy in six.range(0, days, step):
for dummy in six.moves.range(0, days, step):
# Calculate interval
int_start = dtstart
int_end = int_start + timezone.timedelta(days=step)
......
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