Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
converse.js
Commits
c7e5ee98
Commit
c7e5ee98
authored
9 years ago
by
Michal Čihař
Browse files
Options
Download
Email Patches
Plain Diff
Simplify condition
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
28a6e688
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
weblate/trans/search.py
weblate/trans/search.py
+1
-1
No files found.
weblate/trans/search.py
View file @
c7e5ee98
...
...
@@ -207,7 +207,7 @@ def update_index_unit(unit, source=True):
update_source_unit_index
(
writer
,
unit
)
# Update target
if
unit
.
target
!=
''
:
if
unit
.
target
:
index
=
get_target_index
(
unit
.
translation
.
language
.
code
)
with
AsyncWriter
(
index
)
as
writer
:
update_target_unit_index
(
writer
,
unit
)
...
...
This diff is collapsed.
Click to expand it.
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