]> git.llucax.com Git - software/pymin.git/commitdiff
Bugfix: make rollback to work.
authorLeandro Lucarella <llucax@gmail.com>
Sun, 7 Oct 2007 22:01:45 +0000 (19:01 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Sun, 7 Oct 2007 22:01:45 +0000 (19:01 -0300)
Rollback did never worked right on composed handlers (handlers with
sub-handlers) because when the class attributes were unpickled, they were
bounded to a new object instance, and the sub-handlers references were
never updated (the sub-handler referenced directly the handler attributes).

Now all sub-handlers references the handler object itself (called parent)
so when the unpikle is done, all can reference to the same objects.


No differences found