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
f99300bc
Commit
f99300bc
authored
Dec 19, 2012
by
Giorgos Korfiatis
Browse files
Remove old comments
parent
3bdb6899
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/models.py
View file @
f99300bc
...
...
@@ -1785,7 +1785,6 @@ class ProjectMembership(models.Model):
synced_application
=
self
.
application
if
synced_application
is
not
None
:
# first, inverse all current limits, and index them by resource name
cur_grants
=
synced_application
.
resource_grants
.
all
()
for
grant
in
cur_grants
:
sub_append
(
QuotaLimits
(
...
...
@@ -1796,7 +1795,6 @@ class ProjectMembership(models.Model):
export_limit
=
grant
.
member_export_limit
))
if
not
remove
:
# second, add each new limit to its inverted current
new_grants
=
self
.
pending_application
.
projectresourcegrant_set
.
all
()
for
new_grant
in
new_grants
:
add_append
(
QuotaLimits
(
...
...
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