Mercurial > libervia-backend
comparison sat/memory/sqlite.py @ 2711:9adf44996e58
core (memory/sqlite): skip a line before debug log showing statements
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 Dec 2018 14:39:35 +0100 |
parents | 310e41bd6666 |
children | b35c84ea73cf |
comparison
equal
deleted
inserted
replaced
2710:b6e16a89311b | 2711:9adf44996e58 |
---|---|
185 | 185 |
186 def commitStatements(statements): | 186 def commitStatements(statements): |
187 | 187 |
188 if statements is None: | 188 if statements is None: |
189 return defer.succeed(None) | 189 return defer.succeed(None) |
190 log.debug(u"===== COMMITTING STATEMENTS =====\n%s\n============\n\n" % '\n'.join(statements)) | 190 log.debug(u"\n===== COMMITTING STATEMENTS =====\n%s\n============\n\n" % '\n'.join(statements)) |
191 d = self.dbpool.runInteraction(self._updateDb, tuple(statements)) | 191 d = self.dbpool.runInteraction(self._updateDb, tuple(statements)) |
192 return d | 192 return d |
193 | 193 |
194 # init_defer is the initialisation deferred, initialisation is ok when all its callbacks have been done | 194 # init_defer is the initialisation deferred, initialisation is ok when all its callbacks have been done |
195 | 195 |