Show More
@@ -506,9 +506,12 b' class transaction(util.transactional):' | |||
|
506 | 506 | self._validator(self) # will raise exception if needed |
|
507 | 507 | self._validator = None # Help prevent cycles. |
|
508 | 508 | self._generatefiles(group=gengroupprefinalize) |
|
509 |
|
|
|
509 | while self._finalizecallback: | |
|
510 | callbacks = self._finalizecallback | |
|
511 | self._finalizecallback = {} | |
|
512 | categories = sorted(callbacks) | |
|
510 | 513 | for cat in categories: |
|
511 |
|
|
|
514 | callbacks[cat](self) | |
|
512 | 515 | # Prevent double usage and help clear cycles. |
|
513 | 516 | self._finalizecallback = None |
|
514 | 517 | self._generatefiles(group=gengrouppostfinalize) |
General Comments 0
You need to be logged in to leave comments.
Login now