This file is indexed.

/usr/lib/python2.7/dist-packages/jenkinsapi/result.py is in python-jenkinsapi 0.2.16-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
24
25
26
27
"""
Module for jenkinsapi Result
"""


class Result(object):
    """
    Result class
    """

    def __init__(self, **kwargs):
        self.__dict__.update(kwargs)

    def __str__(self):
        return "%s %s %s" % (self.className, self.name, self.status)

    def __repr__(self):
        module_name = self.__class__.__module__
        class_name = self.__class__.__name__
        self_str = str(self)
        return "<%s.%s %s>" % (module_name, class_name, self_str)

    def identifier(self):
        """
        Calculate an ID for this object.
        """
        return "%s.%s" % (self.className, self.name)