Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
³Y„j ã @ s d Z ddddddddgZd d
lZd dlmZ yejdd
ƒ W n ek
rT dZY n8X yd dlmZ dZW n e eej
fk
rŠ dZY nX d
ad dlm
Z
d dlmZ d dlmZ d d
lZdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd „ Zd!d„ Zd"d„ Zd#d„ Zd
S )$z(Functions for NetworkManager interactionÚcheck_nm_importedÚnm_is_importedÚnm_get_zone_of_connectionÚnm_set_zone_of_connectionÚnm_get_connectionsÚnm_get_connection_of_interfaceÚnm_get_bus_nameÚnm_get_dbus_interfaceé N)ÚGLibÚNMz1.0F)r T)Úerrors)Ú
FirewallError)Úlogc C s t sttjdƒ‚dS )zNCheck function to raise a MISSING_IMPORT error if the import of NM failed
zgi.repository.NM = 1.0N)Ú_nm_importedr
r ZMISSING_IMPORT© r r ú/usr/lib/python3.6/fw_nm.pyr 0 s c C s t S )znReturns true if NM has been properly imported
@return True if import was successful, False otherwirse
)r r r r r r 6 s c C s t stjjdƒa t S )zŒReturns the NM client object or None if the import of NM failed
@return NM.Client instance if import was successful, None otherwise
N)Ú
_nm_clientr ZClientÚnewr r r r Ú
nm_get_client<