This file is indexed.

/usr/share/pyshared/zope/app/appsetup/testproduct/__init__.py is in python-zope.app.appsetup 3.16.0-0ubuntu1.

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
"""\
Sample section data type for product configuration tests.

"""

import ZConfig.components.basic.mapping
import zope.app.appsetup.product


def sampleProductConfig(section):
    mapping = ZConfig.components.basic.mapping.mapping(section)
    mapping["product-name"] = section.getSectionName()

    # Since this is a product config, we need a product configuration object,
    # not a bare mapping:
    return zope.app.appsetup.product.FauxConfiguration(
        mapping["product-name"], mapping)