From: Peter Iannucci Date: Tue, 17 Feb 2009 07:49:27 +0000 (-0500) Subject: Fixed another stupid bug. X-Git-Tag: 0.1.4~2 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/commitdiff_plain/e67a5363f84b43f5f5028a7ee4e7db8ce0c57244 Fixed another stupid bug. svn path=/trunk/packages/invirt-database/; revision=2142 --- diff --git a/python/database/owner.py b/python/database/owner.py index f9e0128..58e3772 100755 --- a/python/database/owner.py +++ b/python/database/owner.py @@ -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)