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
9d1bdd92
Commit
9d1bdd92
authored
Aug 11, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused imports
parent
655aa552
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
trans/models/unit.py
trans/models/unit.py
+1
-3
No files found.
trans/models/unit.py
View file @
9d1bdd92
...
@@ -21,12 +21,10 @@
...
@@ -21,12 +21,10 @@
from
django.db
import
models
from
django.db
import
models
from
weblate
import
appsettings
from
weblate
import
appsettings
from
django.db.models
import
Q
from
django.db.models
import
Q
from
django.db
import
IntegrityError
from
django.utils.translation
import
ugettext
as
_
from
django.utils.translation
import
ugettext
as
_
from
django.utils.safestring
import
mark_safe
from
django.utils.safestring
import
mark_safe
from
django.contrib
import
messages
from
django.contrib
import
messages
from
django.core.cache
import
cache
from
django.core.cache
import
cache
from
whoosh
import
qparser
import
traceback
import
traceback
from
trans.checks
import
CHECKS
from
trans.checks
import
CHECKS
from
trans.models.translation
import
Translation
from
trans.models.translation
import
Translation
...
@@ -952,5 +950,5 @@ class Unit(models.Model):
...
@@ -952,5 +950,5 @@ class Unit(models.Model):
'''
'''
return
set
(
return
set
(
self
.
flags
.
split
(
','
)
self
.
flags
.
split
(
','
)
+
self
.
translation
.
subproject
.
flags
.
split
(
','
)
+
self
.
translation
.
subproject
.
check_
flags
.
split
(
','
)
)
)
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