Revision 9835a70d snf-cyclades-app/synnefo/management/pprint.py

b/snf-cyclades-app/synnefo/management/pprint.py
36 36
from synnefo.lib.ordereddict import OrderedDict
37 37
from snf_django.lib.astakos import UserCache
38 38
from synnefo.settings import (CYCLADES_SERVICE_TOKEN as ASTAKOS_TOKEN,
39
                              ASTAKOS_BASE_URL)
39
                              ASTAKOS_AUTH_URL)
40 40
from synnefo.db.models import Backend, pooled_rapi_client
41 41
from synnefo.db.pools import bitarray_to_map
42 42

  
......
51 51
    if title is None:
52 52
        title = "State of Network %s in DB" % network.id
53 53

  
54
    ucache = UserCache(ASTAKOS_BASE_URL, ASTAKOS_TOKEN)
54
    ucache = UserCache(ASTAKOS_AUTH_URL, ASTAKOS_TOKEN)
55 55
    userid = network.userid
56 56

  
57 57
    db_network = OrderedDict([
......
267 267
    if title is None:
268 268
        title = "State of Server %s in DB" % server.id
269 269

  
270
    ucache = UserCache(ASTAKOS_BASE_URL, ASTAKOS_TOKEN)
270
    ucache = UserCache(ASTAKOS_AUTH_URL, ASTAKOS_TOKEN)
271 271
    userid = server.userid
272 272

  
273 273
    try:

Also available in: Unified diff