⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.51
Server IP:
15.204.235.159
Server:
Linux srv.techlup.co.ke 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.6
/
site-packages
/
pydbus
/
__pycache__
/
View File Name :
request_name.cpython-36.opt-1.pyc
3 ָVXs � @ s4 d dl mZ G dd� ded��ZG dd� de�ZdS )� )�ExitableWithAliasesc @ s e Zd Zf Zdd� ZdS )� NameOwnerc sv d|r dndB |rdndB }� j j�|�}|dkrJ| j� �fdd�� d S |dkrZtd��|dkrjtd ��td ��d S )N� r � � c s � j j��S )N)�dbusZReleaseName� )�bus�namer �"/usr/lib/python3.6/request_name.py�<lambda> s z$NameOwner.__init__.<locals>.<lambda>� zname already exists on the busz%you're already the owner of this namez!cannot take ownership of the name)r ZRequestNameZ_at_exit�RuntimeError)�selfr r �allow_replacement�replace�flags�resr )r r r �__init__ s zNameOwner.__init__N)�__name__� __module__�__qualname__� __slots__r r r r r r s r Zunownc @ s e Zd Zf Zddd�ZdS )�RequestNameMixinTFc C s t | |||�S )z~Aquires a bus name. Returns ------- NameOwner An object you can use as a context manager to unown the name later. )r )r r r r r r r �request_name s zRequestNameMixin.request_nameN)TF)r r r r r r r r r r s r N)Zexitabler r �objectr r r r r �<module> s