HEX
Server: Apache
System: Linux cds-alphanode.dnscapweb.net 4.18.0-553.63.1.el8_10.x86_64 #1 SMP Mon Jul 21 10:37:28 EDT 2025 x86_64
User: marvidson (1030)
PHP: 8.1.33
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