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/authz/pep.py

    r4035 r4358  
    135135                                 
    136136        except KeyError, e: 
    137             raise PDPInitError('Importing PDP module, key not recognised: %s'%\ 
     137            raise PDPInitError('Importing PDP module, key not recognised: %s' % 
    138138                               e)                           
    139139        except Exception, e: 
     
    143143        # Check class inherits from PEPResrc abstract base class 
    144144        if not issubclass(pdpClass, PDPInterface): 
    145             raise PDPInitError, \ 
    146                 "PDP interface class %s must be derived from PDPInterface" % \ 
    147                     self.pdpClassName 
     145            raise PDPInitError("PDP interface class %s must be derived from " 
     146                               "PDPInterface" % self.pdpClassName) 
    148147 
    149148 
     
    202201         
    203202        if self._pdp is None: 
    204             raise PDPInitError("PDP object is not set - " + \ 
    205                 "ensure initPDPInterface has been called and the relevant " + \ 
    206                 " configuration parameters have been set") 
     203            raise PDPInitError("PDP object is not set - ensure " 
     204                               "initPDPInterface has been called and the " 
     205                               "relevant configuration parameters have been " 
     206                               "set") 
    207207             
    208208        return self._pdp.accessPermitted(resrcHandle,  
Note: See TracChangeset for help on using the changeset viewer.