Ignore:
Timestamp:
Feb 17, 2009, 3:45:38 AM (16 years ago)
Author:
broder
Message:

Don't explicitly initialize each quota when creating a new quota object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database/scripts/invirt-setquotas

    r2151 r2152  
    5353    x = Owner.query().filter_by(owner_id=owner).first()
    5454    if x == None:
    55         x = Owner(owner_id=owner, ram_quota_total=None, ram_quota_single=None,
    56                   disk_quota_total=None, disk_quota_single=None,
    57                   vms_quota_total=None, vms_quota_active=None)
     55        x = Owner(owner_id=owner)
    5856
    5957    if opts.memtotal != None:
Note: See TracChangeset for help on using the changeset viewer.