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
51d9cc5d
Commit
51d9cc5d
authored
Jan 22, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better variable names
parent
a4f14f4a
Changes
1
Show 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 @
51d9cc5d
...
...
@@ -248,7 +248,7 @@ class Project(models.Model):
return
True
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
def
get_lock_url
(
self
):
...
...
@@ -883,8 +883,8 @@ class SubProject(models.Model):
translation
.
commit_pending
(
skip_push
=
skip_push
)
# Process linked projects
for
s
p
in
self
.
get_linked_childs
():
s
p
.
commit_pending
(
True
,
skip_push
=
skip_push
)
for
s
ubproject
in
self
.
get_linked_childs
():
s
ubproject
.
commit_pending
(
True
,
skip_push
=
skip_push
)
def
notify_merge_failure
(
self
,
error
,
status
):
'''
...
...
@@ -1041,12 +1041,12 @@ class SubProject(models.Model):
todelete
.
delete
()
# Process linked repos
for
s
p
in
self
.
get_linked_childs
():
for
s
ubproject
in
self
.
get_linked_childs
():
logger
.
info
(
'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
)
...
...
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