svn path=/trunk/web/; revision=251
"""
if not on:
return MAX_MEMORY_SINGLE
"""
if not on:
return MAX_MEMORY_SINGLE
- if machine.memory > MAX_MEMORY_SINGLE:
+ if machine is not None and machine.memory > MAX_MEMORY_SINGLE:
# If they've been blessed, let them have it
return machine.memory
machines = getMachinesByOwner(user, machine)
# If they've been blessed, let them have it
return machine.memory
machines = getMachinesByOwner(user, machine)