Changeset 1024

Show
Ignore:
Timestamp:
06/12/03 23:09:57 (21 years ago)
Author:
jalet
Message:

wrongly placed code.

Files:
1 modified

Legend:

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

    r1021 r1024  
    2121# 
    2222# $Log$ 
     23# Revision 1.2  2003/06/12 21:09:57  jalet 
     24# wrongly placed code. 
     25# 
    2326# Revision 1.1  2003/06/10 16:37:54  jalet 
    2427# Deletion of the second user which is not needed anymore. 
     
    5659        try : 
    5760            self.database = pg.connect(host=host, port=port, dbname=dbname, user=user, passwd=passwd) 
    58             self.closed = 0 
    5961        except pg.error, msg : 
    6062            raise PyKotaStorageError, msg 
    6163        else :     
     64            self.closed = 0 
    6265            if self.debug : 
    6366                self.tool.logger.log_message("Database opened (host=%s, port=%s, dbname=%s, user=%s)" % (host, port, dbname, user), "debug")