Revision 006c6249 snf-cyclades-app/synnefo/api/util.py

b/snf-cyclades-app/synnefo/api/util.py
487 487

  
488 488
def verify_personality(personality):
489 489
    """Verify that a a list of personalities is well formed"""
490
    if len(personality) > settings.max_personality:
490
    if len(personality) > settings.MAX_PERSONALITY:
491 491
        raise OverLimit("Maximum number of personalities"
492 492
                               " exceeded")
493 493
    for p in personality:

Also available in: Unified diff