Yay yasb
[invirt/packages/invirt-base.git] / scripts / invirt-setquotas
index 5bdacce..ceae1bf 100755 (executable)
@@ -54,7 +54,7 @@ def main(argv):
     if x == None:
         x = Owner(owner_id=owner, ram_quota_total=None, ram_quota_single=None,
                   disk_quota_total=None, disk_quota_single=None,
     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)
+                  vms_quota_total=None, vms_quota_active=None)
 
     if opts.memtotal != None:
         total = int(opts.memtotal)
 
     if opts.memtotal != None:
         total = int(opts.memtotal)