Show
Ignore:
Timestamp:
07/16/03 23:53:08 (21 years ago)
Author:
jalet
Message:

Really big modifications wrt new configuration file's location and content.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storage.py

    r1067 r1087  
    2121# 
    2222# $Log$ 
     23# Revision 1.19  2003/07/16 21:53:07  jalet 
     24# Really big modifications wrt new configuration file's location and content. 
     25# 
    2326# Revision 1.18  2003/07/07 08:33:18  jalet 
    2427# Bug fix due to a typo in LDAP code 
     
    314317        host = backendinfo["storageserver"] 
    315318        database = backendinfo["storagename"] 
    316         admin = backendinfo["storageadmin"] 
    317         adminpw = backendinfo["storageadminpw"] 
     319        admin = backendinfo["storageadmin"] or backendinfo["storageuser"] 
     320        adminpw = backendinfo["storageadminpw"] or backendinfo["storageuserpw"] 
    318321        return getattr(storagebackend, "Storage")(pykotatool, host, database, admin, adminpw) 
    319322