Ignore:
Timestamp:
18 Nov 2014, 11:37:28 (10 years ago)
Author:
Henrik Bettermann
Message:

pep8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/authentication.py

    r11958 r11985  
    11## $Id: authentication.py 10055 2013-04-04 15:12:43Z uli $
    2 ## 
     2##
    33## Copyright (C) 2014 Uli Fouquet & Henrik Bettermann
    44## This program is free software; you can redistribute it and/or modify
     
    66## the Free Software Foundation; either version 2 of the License, or
    77## (at your option) any later version.
    8 ## 
     8##
    99## This program is distributed in the hope that it will be useful,
    1010## but WITHOUT ANY WARRANTY; without even the implied warranty of
    1111## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1212## GNU General Public License for more details.
    13 ## 
     13##
    1414## You should have received a copy of the GNU General Public License
    1515## along with this program; if not, write to the Free Software
     
    3535from waeup.ikoba.customers.interfaces import ICustomer
    3636
     37
    3738class CustomerAccount(grok.Adapter):
    3839    """An adapter to turn customer objects into accounts on-the-fly.
     
    126127        return passwordmanager.checkPassword(self.context.password, password)
    127128
     129
    128130class CustomersAuthenticatorPlugin(grok.GlobalUtility):
    129131    grok.implements(IAuthenticatorPlugin)
     
    188190        return IUserAccount(customer)
    189191
     192
    190193class PasswordChangeCredentialsPlugin(grok.GlobalUtility,
    191194                                      SessionCredentialsPlugin):
     
    279282        # Return old credentials for this one request only
    280283        return old_credentials
     284
    281285
    282286class CustomersAuthenticatorSetup(grok.GlobalUtility):
Note: See TracChangeset for help on using the changeset viewer.