x = Owner.query().filter_by(owner_id=owner).first()
if x == None:
- x = Owner(owner_id=owner, ram_quota_total=None, ram_quota_single=None,
- disk_quota_total=None, disk_quota_single=None,
- vms_quota_total=None, vms_quota_active=None)
+ x = Owner(owner_id=owner)
if opts.memtotal != None:
total = int(opts.memtotal)