Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
a98fff45
Commit
a98fff45
authored
Jan 04, 2013
by
Giorgos Korfiatis
Browse files
Fix some arg names
parent
66718262
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/functions.py
View file @
a98fff45
...
...
@@ -597,7 +597,7 @@ def leave_project(project_application_id, user_id):
project_id
=
get_project_id_of_application_id
(
project_application_id
)
return
do_leave_project
(
project_id
,
user_id
)
def
do_leave_project
(
project
,
user_id
):
def
do_leave_project
(
project
_id
,
user_id
):
project
=
get_project_for_update
(
project_id
)
if
not
project
.
is_alive
:
...
...
@@ -627,7 +627,7 @@ def join_project(project_application_id, user_id):
return
do_join_project
(
project_id
,
user_id
)
def
do_join_project
(
project_id
,
user_id
):
project
=
get_project_for_update
(
project
)
project
=
get_project_for_update
(
project
_id
)
if
not
project
.
is_alive
:
m
=
_
(
astakos_messages
.
NOT_ALIVE_PROJECT
)
%
project
.
__dict__
...
...
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