/usr/lib/python3/dist-packages/spur/errors.py is in python3-spur 0.3.17-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 | class NoSuchCommandError(OSError):
def __init__(self, command):
if "/" in command:
message = "No such command: {0}".format(command)
else:
message = "Command not found: {0}. Check that {0} is installed and on $PATH".format(command)
super(type(self), self).__init__(message)
self.command = command
class CommandInitializationError(Exception):
def __init__(self, line):
super(type(self), self).__init__(
"""Error while initializing command. The most likely cause is an unsupported shell. Try using a minimal shell type when calling 'spawn' or 'run'.
(Failed to parse line '{0}' as integer)""".format(line)
)
|