Changeset 4d9571eac659a03067a1549751dcc5539d83cb9f in indico


Ignore:
Timestamp:
01/24/12 18:04:06 (4 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Children:
4177f12241c0da5dc1ee2aaa463fea0c3cc74a91
Parents:
f00c3185b91a5ee6395517af66b0af03fee9261a
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (01/24/12 18:04:06)
Message:

[FIX] Room Booking - exact match

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/rb_tools.py

    rf00c31 r4d9571  
    118118                areEqual = ( candAttrVal == exAttrVal ) 
    119119            elif attrType == 'str': 
    120                 areEqual = ( candAttrVal.lower().find( exAttrVal.lower() ) != -1 ) 
     120                areEqual = candAttrVal.lower() == exAttrVal.lower() 
    121121            else: 
    122122                raise attrType + ": " + str( candAttrVal ) + " - can not compare" 
Note: See TracChangeset for help on using the changeset viewer.