Commit 6bd4f1f0 authored by Antoine Millet's avatar Antoine Millet

Fixed reversed rollback.

parent b77c5558
......@@ -137,7 +137,7 @@ class BaseJob(dict, Thread, object):
self.report('rollbacking')
try:
for func in self._wayback:
for func in reversed(self._wayback):
func()
except Exception as err:
self.report('rollback failed: %s' % err, done=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment