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
f21588d8
Commit
f21588d8
authored
Oct 02, 2013
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
d270f4f4
cec144aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
trans/models/translation.py
trans/models/translation.py
+2
-0
No files found.
trans/models/translation.py
View file @
f21588d8
...
@@ -537,6 +537,8 @@ class Translation(models.Model, URLMixin, PercentMixin):
...
@@ -537,6 +537,8 @@ class Translation(models.Model, URLMixin, PercentMixin):
created_units
.
add
(
newunit
.
id
)
created_units
.
add
(
newunit
.
id
)
# Get lists of stale units to delete
# Get lists of stale units to delete
# FIXME: this query can get huge, so we should find better way
# to delete stale units, probably sort of garbage collection
units_to_delete
=
self
.
unit_set
.
exclude
(
units_to_delete
=
self
.
unit_set
.
exclude
(
id__in
=
created_units
id__in
=
created_units
)
)
...
...
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