]> git.llucax.com Git - software/pymin.git/commit
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)
commit7012b07c7b88ece1a0a08c53ca5a07c81209d2e6
treee9c46649c1d5708264518a7c4cb61907b349aa6f
parentc9d3523aec7eee7941162e598dd1c9dc500809e6
Bugfix: make rollback to work.

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.
pymin/services/dhcp/__init__.py
pymin/services/dns/__init__.py
pymin/services/firewall/__init__.py
pymin/services/ip/__init__.py
pymin/services/proxy/__init__.py