This file is indexed.

/usr/lib/python2.7/dist-packages/zope/configuration/tests/conditions.zcml is in python-zope.configuration 4.0.3-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
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:meta="http://namespaces.zope.org/meta"
    xmlns:test="http://sample.namespaces.zope.org/test"
    xmlns:zcml="http://namespaces.zope.org/zcml"
    >

  <meta:directive
      name="register"
      namespace="http://sample.namespaces.zope.org/test"
      schema=".conditions.IRegister"
      handler=".conditions.register"
      >
    This registers a directive which creates registrations we can test.
  </meta:directive>

  <test:register id="unqualified.registration" />

  <meta:provides feature="testfeature" />
  <meta:provides feature="anothertestfeature" />

  <configure zcml:condition="have testfeature">
    ZCML directives inside here should be included.

    <configure>
      <test:register id="nested.true.condition" />
    </configure>

    <!-- These registrations stand on the basis of their own
         conditions: -->
    <test:register
        zcml:condition="have anothertestfeature"
        id="true.condition.nested.in.true"
        />

    <test:register
        zcml:condition="have undefinedfeature"
        id="false.condition.nested.in.true"
        />

  </configure>

  <test:register
      zcml:condition="have testfeature"
      id="direct.true.condition"
      >
    This registration should be included.
  </test:register>

  <configure zcml:condition="have undefinedfeature">
    ZCML directives inside here should be ignored.

    <configure>
      <test:register id="nested.false.condition" />
    </configure>

    <!-- These registrations are ignored, since the container is
         ignored: -->
    <test:register
        zcml:condition="have testfeature"
        id="true.condition.nested.in.false"
        />

    <test:register
        zcml:condition="have undefinedfeature"
        id="false.condition.nested.in.false"
        />

  </configure>

  <test:register
      zcml:condition="have undefinedfeature"
      id="direct.false.condition"
      >
    This registration should be ignored.
  </test:register>

</configure>