This file is indexed.

/usr/lib/python2.7/dist-packages/taskw/exceptions.py is in python-taskw 1.1.0-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
import sys


class TaskwarriorError(Exception):
    def __init__(self, command, stderr, stdout, code):
        self.command = command
        self.stderr = stderr.strip()
        self.stdout = stdout.strip()
        self.code = code
        super(TaskwarriorError, self).__init__(self.stderr)

    def __unicode__(self):
        return "%r #%s; stderr:\"%s\"; stdout:\"%s\"" % (
            self.command,
            self.code,
            self.stderr,
            self.stdout,
        )

    def __str__(self):
        return self.__unicode__().encode(sys.getdefaultencoding(), 'replace')