Changeset 1024 for pykota/trunk
- Timestamp:
- 06/12/03 23:09:57 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/pgstorage.py
r1021 r1024 21 21 # 22 22 # $Log$ 23 # Revision 1.2 2003/06/12 21:09:57 jalet 24 # wrongly placed code. 25 # 23 26 # Revision 1.1 2003/06/10 16:37:54 jalet 24 27 # Deletion of the second user which is not needed anymore. … … 56 59 try : 57 60 self.database = pg.connect(host=host, port=port, dbname=dbname, user=user, passwd=passwd) 58 self.closed = 059 61 except pg.error, msg : 60 62 raise PyKotaStorageError, msg 61 63 else : 64 self.closed = 0 62 65 if self.debug : 63 66 self.tool.logger.log_message("Database opened (host=%s, port=%s, dbname=%s, user=%s)" % (host, port, dbname, user), "debug")