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
77c99624
Commit
77c99624
authored
Aug 21, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Report errors from parsing file
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
47d540bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
weblate/trans/models/translation.py
weblate/trans/models/translation.py
+3
-5
No files found.
weblate/trans/models/translation.py
View file @
77c99624
...
...
@@ -28,6 +28,7 @@ from django.core.cache import cache
from
django.utils
import
timezone
from
django.core.urlresolvers
import
reverse
import
os
import
sys
import
traceback
import
codecs
from
translate.storage
import
poheader
...
...
@@ -41,7 +42,7 @@ from weblate.trans.models.unit import Unit
from
weblate.trans.models.unitdata
import
Suggestion
from
weblate.trans.signals
import
vcs_pre_commit
,
vcs_post_commit
from
weblate.trans.util
import
(
get_site_url
,
translation_percent
,
split_plural
,
get_site_url
,
translation_percent
,
split_plural
,
report_error
,
)
from
weblate.accounts.avatar
import
get_user_display
from
weblate.trans.mixins
import
URLMixin
,
PercentMixin
,
LoggerMixin
...
...
@@ -445,10 +446,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
try
:
self
.
_store
=
self
.
load_store
()
except
Exception
as
exc
:
self
.
log_warning
(
'failed parsing store: %s'
,
str
(
exc
)
)
report_error
(
exc
,
sys
.
exc_info
())
self
.
subproject
.
notify_merge_failure
(
str
(
exc
),
u''
.
join
(
traceback
.
format_stack
()),
...
...
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