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.

Location:
trunk/packages/invirt-database
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-database/debian/changelog

    r2151 r2152  
    22
    33  * Move invirt-setquotas into this package.
    4 
    5  -- Evan Broder <broder@mit.edu>  Tue, 17 Feb 2009 03:42:41 -0500
     4  * Don't explicitly initialize the values for each quota when creating a
     5    new Owner object.
     6
     7 -- Evan Broder <broder@mit.edu>  Tue, 17 Feb 2009 03:44:20 -0500
    68
    79invirt-database (0.1.5) unstable; urgency=low
  • 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.