Ignore:
Timestamp:
24/10/08 13:24:37 (11 years ago)
Author:
pjkersha
Message:

ndg.security.common.wssecurity.__init: fix for reading parameters with prefix set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.common/ndg/security/common/wssecurity/__init__.py

    r4331 r4358  
    9292        # config file, self._param are the names used in the code. 
    9393        prefix = kw.pop('prefix', None) 
    94         if prefix is not None: 
    95             optNames = ["%s.%s" % (prefix, optName) for optName in optNames]  
     94 
     95        if prefix: 
     96            optNames = ["%s.%s" % (prefix, optName) for optName in kw]  
    9697        else: 
    9798            optNames = self._param 
Note: See TracChangeset for help on using the changeset viewer.