This file is indexed.

/usr/share/pyshared/axiom/test/newobsolete.py is in python-axiom 0.7.1-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
19
20
21
22
23
# -*- test-case-name: axiom.test.test_upgrading.DeletionTest.testPowerups -*-

from axiom.item import Item
from axiom.attributes import integer

class Obsolete(Item):
    """
    This is a stub placeholder so that axiomInvalidateModule will invalidate
    the appropriate typeName; it's probably bad practice to declare recent
    versions of deleted portions of the schema, but that's not what this is
    testing.
    """
    typeName = 'test_upgrading_obsolete'
    nothing = integer()
    schemaVersion = 2

from axiom.upgrade import registerUpgrader

def obsolete1toNone(oldObsolete):
    oldObsolete.deleteFromStore()
    return None

registerUpgrader(obsolete1toNone, 'test_upgrading_obsolete', 1, 2)