Show
Ignore:
Timestamp:
09/03/05 14:20:30 (19 years ago)
Author:
jerome
Message:

Allow PyKota admins and users to use different database backends
or locations depending on their permissions.
Severity : minor, but with great possibilities :)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/pgstorage.py

    r2302 r2418  
    4848            port = -1         # Use PostgreSQL's default tcp/ip port (5432). 
    4949         
     50        self.tool.logdebug("Trying to open database (host=%s, port=%s, dbname=%s, user=%s)..." % (host, port, dbname, user)) 
    5051        self.database = pg.connect(host=host, port=port, dbname=dbname, user=user, passwd=passwd) 
    5152        self.closed = 0