🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-07 16:25:42 | PHP 8.2.32
📂
/ (Root)
/
usr
/
lib
/
python3.6
/
site-packages
/
sos
/
upload
/
targets
/
__pycache__
📍 /usr/lib/python3.6/site-packages/sos/upload/targets/__pycache__
🔄 Refresh
✏️
Editing: ubuntu.cpython-36.pyc
Read Only
3 ܓ�i0 � @ s4 d dl Z d dlmZ d dlmZ G dd� de�ZdS )� N)�UploadTarget)�UbuntuPolicyc s` e Zd ZdZdZdZdZdZdZd� fdd� Z d d � Z d� fdd� Zd d� Z� fdd�Z � ZS )�UbuntuUploadTargetzUbuntu Upload TargetZ canonicalz,https://files.support.canonical.com/uploads/ZubuntuZputNc s t � j|||d� d S )N)�parser�args�cmdline)�super�__init__)�selfr r r )� __class__� �/usr/lib/python3.6/ubuntu.pyr s zUbuntuUploadTarget.__init__c C s t | jd t�S )z1 Return true if we are running in a Ubuntu systemZpolicy)� isinstanceZcommonsr )r r r r �check_distribution s z%UbuntuUploadTarget.check_distributionc s$ | j j| j�r| j| jfS t� j� S )N)� upload_url� startswith�_upload_url�_upload_user�_upload_passwordr �get_upload_https_auth)r �userZpassword)r r r r s z(UbuntuUploadTarget.get_upload_https_authc C s | j j| j�rdS | j| j� �S )NzCanonical Support File Server)r r r Z_get_obfuscated_upload_url�get_upload_url)r r r r �get_upload_url_string"