HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3/dist-packages/secretstorage/__pycache__/__init__.cpython-38.pyc
U

�T�W��@s�dZddlZddlmZmZmZmZmZmZm	Z	ddl
mZddlm
Z
mZmZmZddlmZmZmZmZdZd�eee��Zd
dd�ZdS)aThis file provides quick access to all SecretStorage API. Please
refer to documentation of individual modules for API details.

It also provides some functions for compatibility with older
SecretStorage releases. Those functions are not recommended for use
in new software.�N)�
Collection�create_collection�get_all_collections�get_default_collection�get_any_collection�get_collection_by_alias�search_items)�Item)�DBUS_NOT_SUPPORTED�DBUS_EXEC_FAILED�
DBUS_NO_REPLY�DBUS_ACCESS_DENIED)�SecretStorageException�"SecretServiceNotAvailableException�LockedException�ItemNotFoundException)����.TFc
Cs�|r>t��s>|r(ddlm}|dd�nddlm}|dd�z
t��WStjjk
r�}z&|�	�t
ttt
fkr~t|�����W5d}~XYnXdS)a�Returns new SessionBus_. If `main_loop` is :const:`True` and no
	D-Bus main loop is registered yet, registers a default main loop
	(PyQt5 main loop if `use_qt_loop` is :const:`True`, otherwise GLib
	main loop).

	.. _SessionBus: https://www.freedesktop.org/wiki/IntroductionToDBus/#buses

	.. note::
	   Qt uses GLib main loops on UNIX-like systems by default, so one
	   will rarely need to set `use_qt_loop` to :const:`True`.
	r)�DBusQtMainLoopT)Zset_as_default)�
DBusGMainLoopN)�dbusZget_default_main_loopZdbus.mainloop.pyqt5rZdbus.mainloop.glibrZ
SessionBus�
exceptionsZ
DBusException�
get_dbus_namer
rrr
r�get_dbus_message)Z	main_loopZuse_qt_looprr�e�r�8/usr/lib/python3/dist-packages/secretstorage/__init__.py�	dbus_inits$

��r)TF)�__doc__rZsecretstorage.collectionrrrrrrrZsecretstorage.itemr	Zsecretstorage.definesr
rrr
Zsecretstorage.exceptionsrrrrZ__version_tuple__�join�map�str�__version__rrrrr�<module>s$