- Timestamp:
- Dec 14, 2007, 9:13:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/validation.py
r251 r253 38 38 returned. 39 39 """ 40 if not on:41 return MAX_MEMORY_SINGLE42 40 if machine is not None and machine.memory > MAX_MEMORY_SINGLE: 43 41 # If they've been blessed, let them have it 44 42 return machine.memory 43 if not on: 44 return MAX_MEMORY_SINGLE 45 45 machines = getMachinesByOwner(user, machine) 46 46 active_machines = [x for x in machines if g.uptimes[x]]
Note: See TracChangeset
for help on using the changeset viewer.