Revision c836d69f snf-astakos-app/astakos/im/endpoints/qh.py

b/snf-astakos-app/astakos/im/endpoints/qh.py
43 43
from astakos.im.settings import QUOTA_HOLDER_URL, LOGGING_LEVEL
44 44

  
45 45
if QUOTA_HOLDER_URL:
46
    from quotaholder.clients.kamaki import quotaholder_client
46
    from kamaki.clients.quotaholder import QuotaholderClient
47 47

  
48 48
ENTITY_KEY = '1'
49 49

  
......
64 64
            if not QUOTA_HOLDER_URL:
65 65
                return client, ()
66 66

  
67
            c = client or quotaholder_client(QUOTA_HOLDER_URL)
67
            c = client or QuotaholderClient(QUOTA_HOLDER_URL)
68 68
            func = c.__dict__.get(func_name)
69 69
            if not func:
70 70
                return c, ()
......
287 287
        m = 'charge type %s not supported' % charge_type
288 288
        raise ValueError(m)
289 289

  
290
    quotaholder = quotaholder_client(QUOTA_HOLDER_URL)
290
    quotaholder = QuotaholderClient(QUOTA_HOLDER_URL)
291 291
    timeline = quotaholder.get_timeline(
292 292
        context={},
293 293
        after=after,

Also available in: Unified diff