Revision 103086a4 snf-astakos-app/astakos/im/quotas.py

b/snf-astakos-app/astakos/im/quotas.py
165 165

  
166 166

  
167 167
def initial_quotas(users):
168
    users = list(users)
168 169
    initial = {}
169 170
    default_quotas = get_default_quota()
170 171

  
......
192 193

  
193 194

  
194 195
def astakos_users_quotas(users, initial=None):
196
    users = list(users)
195 197
    if initial is None:
196 198
        quotas = initial_quotas(users)
197 199
    else:
......
274 276

  
275 277

  
276 278
def qh_sync_projects(projects):
279
    projects = list(projects)
277 280
    memberships = ProjectMembership.objects.filter(
278 281
        project__in=projects, state__in=ProjectMembership.ACTUALLY_ACCEPTED)
279 282
    users = set(m.person for m in memberships)

Also available in: Unified diff