Revision e496f888 snf-astakos-app/astakos/im/management/commands/user-show.py

b/snf-astakos-app/astakos/im/management/commands/user-show.py
67 67

  
68 68
        for user in users:
69 69
            quotas = user.all_quotas()
70
            showable_quotas = {}
71
            for resource, limits in quotas.iteritems():
72
                showable_quotas[resource] = limits.capacity
73 70

  
74 71
            settings_dict = {}
75 72
            settings = user.settings()
......
107 104
            if settings_dict:
108 105
                kv['settings'] = settings_dict
109 106

  
110
            kv['resources'] = showable_quotas
107
            kv['resources'] = quotas
111 108

  
112 109
            if get_latest_terms():
113 110
                has_signed_terms = user.signed_terms

Also available in: Unified diff