Commit a5a1b64f authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Fix infinite quotaholder value

parent f050c5e4
......@@ -46,7 +46,7 @@ if QUOTAHOLDER_URL:
from kamaki.clients.quotaholder import QuotaholderClient
ENTITY_KEY = '1'
PRACTICALLY_INF = pow(2, 30)
PRACTICALLY_INF = pow(2, 70)
inf = float('inf')
......@@ -168,7 +168,7 @@ def qh_add_quota(serial, sub_list, add_list):
context = {}
c = get_client()
sub_quota = []
sub_append = sub_quota.append
add_quota = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment