Changeset c202dee in indico


Ignore:
Timestamp:
04/06/10 14:19:44 (3 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
07bd34
Parents:
8b00bf
Message:

[FIX] bug with i18n on an ID

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/authentication/LocalAuthentication.py

    r420dc1 rc202dee  
    2727class LocalAuthenticator(Authenthicator): 
    2828    idxName = "localIdentities" 
    29     id = _("Local") 
     29    id = "Local" 
    3030    name = "Indico" 
    3131    desciption = "Indico Login" 
    3232    UserCreator = None 
    33      
     33 
    3434    def createIdentity(self, li, avatar): 
    3535        return LocalIdentity(li.getLogin(), li.getPassword(), avatar) 
    36      
    37      
     36 
     37 
    3838 
    3939 
     
    4343 
    4444class LocalIdentity(PIdentity): 
    45      
     45 
    4646    def __init__(self, login, password, user): 
    4747        PIdentity.__init__( self, login, user ) 
     
    5656            return self.user 
    5757        return None 
    58      
     58 
    5959    def getAuthenticatorTag(self): 
    6060        return LocalAuthenticator.getId() 
Note: See TracChangeset for help on using the changeset viewer.