Revision 733f013d snf-astakos-app/astakos/im/management/commands/user-modify.py

b/snf-astakos-app/astakos/im/management/commands/user-modify.py
332 332

  
333 333
        set_base_quota = options.get('set_base_quota')
334 334
        if set_base_quota is not None:
335
            if not user.is_accepted():
336
                m = "%s is not an accepted user." % user
337
                raise CommandError(m)
335 338
            resource, capacity = set_base_quota
336 339
            self.set_limits([user], resource, capacity, force)
337 340

  

Also available in: Unified diff