Show More
@@ -266,8 +266,8 b' class transaction(object):' | |||||
266 | @active |
|
266 | @active | |
267 | def close(self): |
|
267 | def close(self): | |
268 | '''commit the transaction''' |
|
268 | '''commit the transaction''' | |
|
269 | if self.count == 1 and self.onclose is not None: | |||
269 | self._generatefiles() |
|
270 | self._generatefiles() | |
270 | if self.count == 1 and self.onclose is not None: |
|
|||
271 | self.onclose() |
|
271 | self.onclose() | |
272 |
|
272 | |||
273 | self.count -= 1 |
|
273 | self.count -= 1 |
General Comments 0
You need to be logged in to leave comments.
Login now