Changeset 1558

Show
Ignore:
Timestamp:
11/13/06 19:39:18 (2 years ago)
Author:
mgood
Message:

AccountManagerPlugin:

ignore when stores don't have the config_key attribute

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • accountmanagerplugin/0.10/acct_mgr/api.py

    r1549 r1558  
    118118            fmt = self._password_format 
    119119            for store in self.stores: 
    120                 config_key = getattr(store, 'config_key'
     120                config_key = getattr(store, 'config_key', None
    121121                if config_key is None: 
    122122                    continue 
  • accountmanagerplugin/trunk/acct_mgr/api.py

    r1534 r1558  
    118118            fmt = self._password_format 
    119119            for store in self.stores: 
    120                 config_key = getattr(store, 'config_key'
     120                config_key = getattr(store, 'config_key', None
    121121                if config_key is None: 
    122122                    continue