/opt/imh-python/lib/python3.9/site-packages/fabric
NameSizeModeActions
contrib/-0755rm
__pycache__/-0755rm
api.py11820644editdlrm
auth.py7220644editdlrm
colors.py14390644editdlrm
context_managers.py207480644editdlrm
decorators.py72750644editdlrm
docs.py25160644editdlrm
exceptions.py9570644editdlrm
io.py110530644editdlrm
job_queue.py80240644editdlrm
main.py270100644editdlrm
network.py270230644editdlrm
operations.py531320644editdlrm
sftp.py128350644editdlrm
state.py134940644editdlrm
tasks.py160550644editdlrm
task_utils.py28070644editdlrm
thread_handling.py7310644editdlrm
utils.py132140644editdlrm
version.py24960644editdlrm
__init__.py600644editdlrm
__main__.py380644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/fabric/exceptions.py (957B)
""" Custom Fabric exception classes. Most are simply distinct Exception subclasses for purposes of message-passing (though typically still in actual error situations.) """ class NetworkError(Exception): # Must allow for calling with zero args/kwargs, since pickle is apparently # stupid with exceptions and tries to call it as such when passed around in # a multiprocessing.Queue. def __init__(self, message=None, wrapped=None): self.message = message self.wrapped = wrapped def __str__(self): return self.message or "" def __repr__(self): return "%s(%s) => %r" % ( self.__class__.__name__, self.message, self.wrapped ) class CommandTimeout(Exception): def __init__(self, timeout): self.timeout = timeout message = 'Command failed to finish in %s seconds' % (timeout) self.message = message super(CommandTimeout, self).__init__(message)