Changeset 3527 for pykota/trunk
- Timestamp:
- 04/16/10 13:39:40 (15 years ago)
- Location:
- pykota/trunk/pykota/storages
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/pgstorage.py
r3499 r3527 107 107 if not query.endswith(';') : 108 108 query += ';' 109 self.querydebug("QUERY : %s" % query) 109 110 try : 110 self.querydebug("QUERY : %s" % query)111 111 return self.database.query(query) 112 112 except PGError, msg : … … 124 124 if not query.endswith(';') : 125 125 query += ';' 126 self.querydebug("QUERY : %s" % query) 126 127 try : 127 self.querydebug("QUERY : %s" % query)128 128 return self.database.query(query) 129 129 except PGError, msg : -
pykota/trunk/pykota/storages/sqlitestorage.py
r3489 r3527 73 73 if not query.endswith(';') : 74 74 query += ';' 75 self.querydebug("QUERY : %s" % query) 75 76 try : 76 self.querydebug("QUERY : %s" % query)77 77 self.cursor.execute(query) 78 78 except self.database.Error, msg : … … 107 107 if not query.endswith(';') : 108 108 query += ';' 109 self.querydebug("QUERY : %s" % query) 109 110 try : 110 self.querydebug("QUERY : %s" % query)111 111 self.cursor.execute(query) 112 112 except self.database.Error, msg :