Changeset 251 for trunk/web


Ignore:
Timestamp:
Dec 11, 2007, 2:08:49 AM (17 years ago)
Author:
ecprice
Message:

Fix bug in revision 250.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/validation.py

    r250 r251  
    4040    if not on:
    4141        return MAX_MEMORY_SINGLE
    42     if machine.memory > MAX_MEMORY_SINGLE:
     42    if machine is not None and machine.memory > MAX_MEMORY_SINGLE:
    4343        # If they've been blessed, let them have it
    4444        return machine.memory
Note: See TracChangeset for help on using the changeset viewer.