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
6feab46f
Commit
6feab46f
authored
Jan 22, 2013
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a15000d1
51d9cc5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
weblate/trans/models.py
weblate/trans/models.py
+6
-6
No files found.
weblate/trans/models.py
View file @
6feab46f
...
@@ -248,7 +248,7 @@ class Project(models.Model):
...
@@ -248,7 +248,7 @@ class Project(models.Model):
return
True
return
True
def
is_git_locked
(
self
):
def
is_git_locked
(
self
):
return
max
([
s
p
.
locked
for
sp
in
self
.
subproject_set
.
all
()])
return
max
([
s
ubproject
.
locked
for
subproject
in
self
.
subproject_set
.
all
()])
@
models
.
permalink
@
models
.
permalink
def
get_lock_url
(
self
):
def
get_lock_url
(
self
):
...
@@ -883,8 +883,8 @@ class SubProject(models.Model):
...
@@ -883,8 +883,8 @@ class SubProject(models.Model):
translation
.
commit_pending
(
skip_push
=
skip_push
)
translation
.
commit_pending
(
skip_push
=
skip_push
)
# Process linked projects
# Process linked projects
for
s
p
in
self
.
get_linked_childs
():
for
s
ubproject
in
self
.
get_linked_childs
():
s
p
.
commit_pending
(
True
,
skip_push
=
skip_push
)
s
ubproject
.
commit_pending
(
True
,
skip_push
=
skip_push
)
def
notify_merge_failure
(
self
,
error
,
status
):
def
notify_merge_failure
(
self
,
error
,
status
):
'''
'''
...
@@ -1041,12 +1041,12 @@ class SubProject(models.Model):
...
@@ -1041,12 +1041,12 @@ class SubProject(models.Model):
todelete
.
delete
()
todelete
.
delete
()
# Process linked repos
# Process linked repos
for
s
p
in
self
.
get_linked_childs
():
for
s
ubproject
in
self
.
get_linked_childs
():
logger
.
info
(
logger
.
info
(
'updating linked project %s'
,
'updating linked project %s'
,
s
p
s
ubproject
)
)
s
p
.
create_translations
(
force
,
langs
,
request
=
request
)
s
ubproject
.
create_translations
(
force
,
langs
,
request
=
request
)
logger
.
info
(
'updating of %s completed'
,
self
)
logger
.
info
(
'updating of %s completed'
,
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