/usr/share/pyshared/reconfigure/includers/bind9.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 | from reconfigure.includers.auto import AutoIncluder
from reconfigure.nodes import PropertyNode
class BIND9Includer (AutoIncluder):
def is_include(self, node):
if isinstance(node, PropertyNode) and node.name == 'include':
return node.value.strip('"')
def remove_include(self, node):
return PropertyNode('include', '"%s"' % node.files)
|