/usr/lib/python2.7/dist-packages/reconfigure/includers/supervisor.py is in python-reconfigure 0.1.74+git49a20890-3.
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 Node, PropertyNode
class SupervisorIncluder (AutoIncluder):
def is_include(self, node):
if node.name == 'include':
return node.get('files').value
def remove_include(self, node):
return Node('include', children=[PropertyNode('files', node.files)])
|