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
3e9aa08c
Commit
3e9aa08c
authored
Jan 23, 2013
by
Giorgos Korfiatis
Browse files
Change status in project_list
parent
b2f01c00
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/management/commands/project-list.py
View file @
3e9aa08c
...
...
@@ -70,14 +70,7 @@ class Command(NoArgsCommand):
try
:
project
=
app
.
project
project_id
=
project
.
id
if
project
.
is_alive
:
status
=
'ALIVE'
elif
project
.
is_terminated
:
status
=
'TERMINATED'
elif
project
.
is_suspended
:
status
=
'SUSPENDED'
else
:
status
=
'UNKNOWN'
status
=
project
.
state_display
()
except
:
project_id
=
''
status
=
''
...
...
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