Changeset 537 for trunk


Ignore:
Timestamp:
May 16, 2008, 9:33:07 PM (17 years ago)
Author:
ecprice
Message:

Fix jis's bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/validation.py

    r535 r537  
    6060        machine_id = None
    6161    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
    6363    return min(MAX_DISK_SINGLE, MAX_DISK_TOTAL-disk_usage/1024.)
    6464
Note: See TracChangeset for help on using the changeset viewer.