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
98590b5a
Commit
98590b5a
authored
Dec 11, 2012
by
Giorgos Korfiatis
Browse files
Fix is_suspended
parent
3d94b1c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/models.py
View file @
98590b5a
...
@@ -1348,9 +1348,9 @@ class Project(models.Model):
...
@@ -1348,9 +1348,9 @@ class Project(models.Model):
@
property
@
property
def
is_suspended
(
self
):
def
is_suspended
(
self
):
if
not
self
.
termination_date
:
if
self
.
termination_date
:
return
False
return
False
if
not
self
.
last_approval_date
:
if
self
.
last_approval_date
:
if
not
self
.
definition
.
violated_resource_grants
:
if
not
self
.
definition
.
violated_resource_grants
:
return
False
return
False
# if not self.violated_members_number_limit:
# if not self.violated_members_number_limit:
...
...
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