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
1ecb254c
Commit
1ecb254c
authored
Feb 14, 2016
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correclty nest code
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
4d2b85c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
weblate/trans/models/subproject.py
weblate/trans/models/subproject.py
+16
-16
No files found.
weblate/trans/models/subproject.py
View file @
1ecb254c
...
...
@@ -975,25 +975,25 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
# Reset repo back
method
(
abort
=
True
)
if
self
.
id
:
Change
.
objects
.
create
(
subproject
=
self
,
user
=
request
.
user
if
request
else
None
,
action
=
action_failed
,
target
=
str
(
error
)
,
)
if
self
.
id
:
Change
.
objects
.
create
(
subproject
=
self
,
user
=
request
.
user
if
request
else
None
,
action
=
action_failed
,
target
=
error
,
)
# Notify subscribers and admins
self
.
notify_merge_failure
(
error
,
status
)
# Notify subscribers and admins
self
.
notify_merge_failure
(
error
,
status
)
# Tell user (if there is any)
if
request
is
not
None
:
messages
.
error
(
request
,
error_msg
%
force_text
(
self
)
)
# Tell user (if there is any)
if
request
is
not
None
:
messages
.
error
(
request
,
error_msg
%
force_text
(
self
)
)
return
False
return
False
def
get_mask_matches
(
self
):
'''
...
...
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