This file is indexed.

/usr/lib/python3/dist-packages/pyutilib/common/_exceptions.py is in python3-pyutilib 5.3.5-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
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
#  _________________________________________________________________________
#
#  PyUtilib: A Python utility library.
#  Copyright (c) 2008 Sandia Corporation.
#  This software is distributed under the BSD License.
#  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
#  the U.S. Government retains certain rights in this software.
#  _________________________________________________________________________

import sys

__all__ = ['ConfigurationError', 'ApplicationError', 'BadDebuggingValue']

class WindowsError_def(Exception):
    """
    An exception used there is an error configuring a package.
    """

    def __init__(self,*args,**kargs):
        Exception.__init__(self,*args,**kargs)      #pragma:nocover

if (sys.platform[0:3] != "win"):
    WindowsError = WindowsError_def
else:
    WindowsError=WindowsError
__all__.append("WindowsError")


class ConfigurationError(Exception):
    """
    An exception used there is an error configuring a package.
    """

    def __init__(self,*args,**kargs):
        Exception.__init__(self,*args,**kargs)      #pragma:nocover


class ApplicationError(Exception):
    """
    An exception used when an external application generates an error.
    """

    def __init__(self,*args,**kargs):
        Exception.__init__(self,*args,**kargs)      #pragma:nocover


class BadDebuggingValue(Exception):
    """
    An exception used when a bad debugging value is used.
    """

    def __init__(self,*args,**kargs):
        Exception.__init__(self,*args,**kargs)      #pragma:nocover