Changeset 537
- Timestamp:
- May 16, 2008, 9:33:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/validation.py
r535 r537 60 60 machine_id = None 61 61 disk_usage = Disk.query().filter_by(Disk.c.machine_id != machine_id, 62 owner=user).sum(Disk.c.size) 62 owner=user).sum(Disk.c.size) or 0 63 63 return min(MAX_DISK_SINGLE, MAX_DISK_TOTAL-disk_usage/1024.) 64 64
Note: See TracChangeset
for help on using the changeset viewer.