HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/pydbus/__pycache__/request_name.cpython-36.pyc
3

ָVXs�@s4ddlmZGdd�ded��ZGdd�de�ZdS)�)�ExitableWithAliasesc@seZdZfZdd�ZdS)�	NameOwnercsvd|r
dndB|rdndB}�jj�|�}|dkrJ|j��fdd��dS|dkrZtd��|dkrjtd	��td
��dS)N�r��cs�jj��S)N)�dbusZReleaseName�)�bus�namer�"/usr/lib/python3.6/request_name.py�<lambda>
sz$NameOwner.__init__.<locals>.<lambda>�zname already exists on the busz%you're already the owner of this namez!cannot take ownership of the name)rZRequestNameZ_at_exit�RuntimeError)�selfr	r
�allow_replacement�replace�flags�resr)r	r
r�__init__szNameOwner.__init__N)�__name__�
__module__�__qualname__�	__slots__rrrrrrsrZunownc@seZdZfZddd�ZdS)�RequestNameMixinTFcCst||||�S)z~Aquires a bus name.

		Returns
		-------
		NameOwner
			An object you can use as a context manager to unown the name later.
		)r)rr
rrrrr�request_nameszRequestNameMixin.request_nameN)TF)rrrrrrrrrrsrN)Zexitablerr�objectrrrrr�<module>s