ÿØÿà JFIF ` ` ÿþxØ
| Server IP : 109.234.164.53 / Your IP : 216.73.216.136 Web Server : Apache System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64 User : computer3 ( 1098) PHP Version : 7.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib/python3.7/site-packages/prospector/ |
Upload File : |
# -*- coding: utf-8 -*-
# We are trying to handle pylint changes in their exception classes
try:
# pylint < 1.7
from pylint.utils import UnknownMessage as UnknownMessageError
except ImportError:
# pylint >= 1.7
from pylint.exceptions import UnknownMessageError
class FatalProspectorException(Exception):
"""
Exception used to indicate an internal prospector problem.
Problems in prospector itself should raise this to notify
the user directly. Errors in dependent tools which should
be squashed and the user notified elegantly.
"""
def __init__(self, message):
self.message = message