This file is indexed.

/usr/lib/python3/dist-packages/aiomeasures/checks.py is in python3-aiomeasures 0.5.14-1.

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
__all__ = ['Check']


class Check:

    __slots__ = ('name', 'status', 'timestamp', 'hostname', 'tags', 'message')

    def __init__(self, name, status, timestamp=None,
                 hostname=None, tags=None, message=None):
        self.name = name
        self.status = status
        self.timestamp = timestamp
        self.hostname = hostname
        self.tags = tags
        self.message = message

    def __repr__(self):
        args = ['%s=%s' for attr in ()]
        attrs = ('name', 'status', 'tags')
        for attr in attrs:
            value = getattr(self, attr, None)
            if value is not None:
                args.append('%s=%r' % (attr, value))
        return '<%s(%s)>' % (self.__class__.__name__, ', '.join(args))