Revision ae497612 snf-astakos-app/astakos/im/endpoints/quotaholder.py

b/snf-astakos-app/astakos/im/endpoints/quotaholder.py
47 47

  
48 48
ENTITY_KEY = '1'
49 49

  
50
inf = float('inf')
51

  
50 52
logger = logging.getLogger(__name__)
51 53

  
54
inf = float('inf')
52 55

  
53 56
def call(func_name):
54 57
    """Decorator function for QuotaholderHTTP client calls."""
......
88 91
        for resource, uplimit in user.quota.iteritems():
89 92
            key = ENTITY_KEY
90 93
            quantity = None
91
            capacity = uplimit
94
            capacity = uplimit if uplimit != inf else None
92 95
            import_limit = None
93 96
            export_limit = None
94 97
            flags = 0

Also available in: Unified diff