Change in vdsm[master]: BZ#807642 Use Securable as base class

fsimonce at redhat.com fsimonce at redhat.com
Thu Mar 29 13:44:13 UTC 2012


Federico Simoncelli has uploaded a new change for review.

Change subject: BZ#807642 Use Securable as base class
......................................................................

BZ#807642 Use Securable as base class

Using Securable as base class allow us to take the best of metaclasses
(being able to modifying methods at import time) and the best of
subclassing (explicit inherited methods such as __init__, _setSafe and
_setUnsafe).
It's also now possible to instantiate attributes per object (__init__)
instead of per class and therefore fix BZ#807642.

Change-Id: I2309e2cfc0291309023238ed91527884ec879d64
---
M vdsm/storage/securable.py
M vdsm/storage/sp.py
2 files changed, 44 insertions(+), 44 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/98/3198/1
--
To view, visit http://gerrit.ovirt.org/3198
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2309e2cfc0291309023238ed91527884ec879d64
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>


More information about the vdsm-patches mailing list