Fixed another stupid bug.
authorPeter Iannucci <iannucci@mit.edu>
Tue, 17 Feb 2009 07:49:27 +0000 (02:49 -0500)
committerPeter Iannucci <iannucci@mit.edu>
Tue, 17 Feb 2009 07:49:27 +0000 (02:49 -0500)
svn path=/trunk/packages/invirt-database/; revision=2142

python/database/owner.py

index f9e0128..58e3772 100755 (executable)
@@ -55,6 +55,6 @@ vms_quota_total=%s vms_quota_active=%s >""" % (self.owner_id,
                 quota_active = MAX_VMS_ACTIVE
         else:
             quota_total = MAX_VMS_TOTAL
-            quota_single = MAX_VMS_ACTIVE
+            quota_active = MAX_VMS_ACTIVE
         return (quota_total, quota_active)
     getVMQuotas = staticmethod(getVMQuotas)