##// END OF EJS Templates
transaction: only generate file when we actually close the transaction...
Pierre-Yves David -
r23103:29bfa964 stable
parent child Browse files
Show More
@@ -266,8 +266,8 b' class transaction(object):'
266 266 @active
267 267 def close(self):
268 268 '''commit the transaction'''
269 self._generatefiles()
270 269 if self.count == 1 and self.onclose is not None:
270 self._generatefiles()
271 271 self.onclose()
272 272
273 273 self.count -= 1
General Comments 0
You need to be logged in to leave comments. Login now