summaryrefslogtreecommitdiff
path: root/reconfigure/nodes.py
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2018-04-25 14:33:27 +0200
committerAndrew Shadura <andrewsh@debian.org>2018-04-25 14:33:27 +0200
commitb50a7a9f6a102709eacd1335c00a1e0d0b259b8e (patch)
tree481b20200ab0c34e1f0d829d8b4b8d17dceaadcd /reconfigure/nodes.py
parent2989b4c027b3230b1778e3777d2cce53c89808d9 (diff)
New upstream version 0.1.81+git20171214.2b8729a8
Diffstat (limited to 'reconfigure/nodes.py')
-rw-r--r--reconfigure/nodes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/reconfigure/nodes.py b/reconfigure/nodes.py
index 8c2c2d4..20fd927 100644
--- a/reconfigure/nodes.py
+++ b/reconfigure/nodes.py
@@ -14,6 +14,7 @@ class Node (object):
self.name = name
self.origin = None
self.children = []
+ self._extra_content = kwargs.pop('extra_content', None)
for node in list(args) + kwargs.pop('children', []):
self.append(node)
self.comment = kwargs.pop('comment', None)
@@ -104,7 +105,7 @@ class Node (object):
"""
Replaces the child nodes by ``name``
- :param node: replacement node or list of nodes
+ :param node: replacement node or list of nodes
::