Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
bd46634a
Commit
bd46634a
authored
Jan 08, 2016
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix range import
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
f882d60e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
weblate/trans/models/changes.py
weblate/trans/models/changes.py
+2
-2
No files found.
weblate/trans/models/changes.py
View file @
bd46634a
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment