##// END OF EJS Templates
transaction: always generate file on close...
Pierre-Yves David -
r23290:59513ec7 default
parent child Browse files
Show More
@@ -329,12 +329,13 b' class transaction(object):'
329 329 @active
330 330 def close(self):
331 331 '''commit the transaction'''
332 if self.count == 1 and self.onclose is not None:
332 if self.count == 1:
333 333 self._generatefiles()
334 334 categories = sorted(self._finalizecallback)
335 335 for cat in categories:
336 336 self._finalizecallback[cat](self)
337 self.onclose()
337 if self.onclose is not None:
338 self.onclose()
338 339
339 340 self.count -= 1
340 341 if self.count != 0:
General Comments 0
You need to be logged in to leave comments. Login now