/usr/share/pyshared/reconfigure/builders/bound.py is in python-reconfigure 0.1.29-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | from reconfigure.builders.base import BaseBuilder
class BoundBuilder (BaseBuilder):
"""
A builder that uses :class:`reconfigure.items.bound.BoundData` to build stuff
:param root_class: a ``BoundData`` class that used as processing root
"""
def __init__(self, root_class):
self.root_class = root_class
def build(self, nodetree):
return self.root_class(nodetree)
def unbuild(self, tree):
pass
|