Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/uaclient/__pycache__/ |
Upload File : |
o ��Jh � @ s� d dl Z d dlZd dlmZmZmZ d dlmZmZm Z m Z mZmZm Z mZ dZg d�ZdZdZdZd Ze �� Ze �e�e��Zed defdefd efdefdefg�Zdefdd�Zdefdd�Z d0dee dee deee ddfdd�Z! d1dedeee ddfdd�Z"dedee fdd�Z#dee fd d!�Z$d"d#� Z%d$ej&fd%d&�Z' 'd2d(edee d)efd*d+�Z(d(efd,d-�Z)d(edefd.d/�Z*dS )3� N)�List� NamedTuple�Optional)�api�apt�event_logger� exceptions�http�messages�system�utilz /usr/bin/snap)g �?g �?g @z proxy.httpzproxy.httpsz/run/snapd.socketz/v2/snaps/{}�SnapPackage�name�version�revision�channel� publisher�returnc C s dt �� v S )z(Returns whether or not snap is installed�snapd)r �get_installed_packages_names� r r �//usr/lib/python3/dist-packages/uaclient/snap.py�is_snapd_installed'