Ignore:
Timestamp:
16/07/07 16:20:24 (13 years ago)
Author:
pjkersha
Message:

ndg.security.server/ndg/security/server/AttAuthority/init.py,
ndg.security.server/ndg/security/server/ca/init.py,
ndg.security.server/ndg/security/server/SessionMgr/init.py,
ndg.security.common/ndg/security/common/Log/log_services_server.py:

  • replaced all refs to NDG_DIR environment variable with NDGSEC_DIR so that

it's specific to NDG security.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/ca/__init__.py

    r2715 r2732  
    6666         
    6767    @type __confDir: string 
    68     @cvar __confDir: configuration directory under $NDG_DIR - default location 
     68    @cvar __confDir: configuration directory under $NDGSEC_DIR - default location 
    6969    for properties file  
    7070     
     
    261261                val = os.environ['NDGSEC_CA_PROPFILEPATH'] 
    262262                 
    263             elif 'NDG_DIR' in os.environ: 
    264                 val = os.path.join(os.environ['NDG_DIR'],  
     263            elif 'NDGSEC_DIR' in os.environ: 
     264                val = os.path.join(os.environ['NDGSEC_DIR'],  
    265265                                   self.__class__.__confDir, 
    266266                                   self.__class__.__propFileName) 
     
    268268                raise AttributeError, 'Unable to set default Session ' + \ 
    269269                    'Manager properties file path: neither ' + \ 
    270                     '"NDGSEC_CA_PROPFILEPATH" or "NDG_DIR" environment ' + \ 
     270                    '"NDGSEC_CA_PROPFILEPATH" or "NDGSEC_DIR" environment ' + \ 
    271271                    'variables are set' 
    272272                 
Note: See TracChangeset for help on using the changeset viewer.