Revision 3af1fb4b snf-cyclades-app/synnefo/quotas/__init__.py
b/snf-cyclades-app/synnefo/quotas/__init__.py | ||
---|---|---|
164 | 164 |
with AstakosClientExceptionHandler(): |
165 | 165 |
response = qh.resolve_commissions(accept, reject) |
166 | 166 |
|
167 |
# Update correspodning entries in DB |
|
168 |
QuotaHolderSerial.objects.filter(serial__in=accept).update(accept=True, |
|
169 |
pending=False, |
|
170 |
resolved=True) |
|
171 |
QuotaHolderSerial.objects.filter(serial__in=reject).update(accept=False, |
|
172 |
pending=False, |
|
173 |
resolved=True) |
|
174 |
|
|
167 | 175 |
if strict: |
168 | 176 |
failed = response["failed"] |
169 | 177 |
if failed: |
Also available in: Unified diff