from tendrl.commons import etcdobj
from tendrl.commons.message import Message as message
from tendrl.commons import objects


class NodeMessage(message, objects.BaseObject):
    internal = True
    def __init__(self, **node_message):
        self._defs = {}
        super(NodeMessage, self).__init__(**node_message)

        self.value = 'nodes/%s/Messages/%s'
        self._etcd_cls = _NodeMessageEtcd

class _NodeMessageEtcd(etcdobj.EtcdObj):
    """Node message object, lazily updated

    """
    __name__ = 'nodes/%s/Messages/%s'
    _tendrl_cls = NodeMessage

    def render(self):
        self.__name__ = self.__name__ % (
            self.node_id, self.message_id
        )
        return super(_NodeMessageEtcd, self).render()

@@ -263,32 +263,15 @@
     
-super(NodeMessage, self)
+message
 .__i
@@ -276,16 +276,22 @@
 _init__(
+self, 
 **node_m
@@ -297,16 +297,58 @@
 message)
+%0A        objects.BaseObject.__init__(self)
 %0A%0A      

Update __init__.py