Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/policies/distros/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/policies/distros/__pycache__/suse.cpython-310.pyc
o

i��dy�@shddlZddlZddlmZmZddlmZddlmZddl	m
ZGdd�de�ZGdd	�d	e�Z
dS)
�N)�RedHatPlugin�
SuSEPlugin)�LinuxPolicy)�RpmPackageManager)�_soscsReZdZdZdZdgZdZ		d�fdd�	Zedd	d
��Z	dd�Z
d
d�Z�ZS)�
SuSEPolicy�SuSE)zDistribution Websitezhttps://www.suse.com/z/var/tmpNTcs�tt|�j||||d�|jttg7_d|_t�|_|jj	s+|j
�d�t�
d�d|_|jtjd7_|jtjd7_|��dS)N��sysroot�init�
probe_runtime�remote_execFz(Could not obtain installed package list.�z"/usr/sbin:/usr/bin:/root/bin:/sbinz/usr/local/binz/usr/local/sbin)�superr�__init__�valid_subclassesrr�usrmover�package_manager�packages�ui_log�error�sys�exit�PATH�os�pathsep�
set_exec_path��selfr
rrr
��	__class__��;/usr/lib/python3/dist-packages/sos/policies/distros/suse.pyrs�
zSuSEPolicy.__init__�cCsdS)z�This method checks to see if we are running on SuSE. It must be
        overriden by concrete subclasses to return True when running on an
        OpenSuSE, SLES or other Suse distribution and False otherwise.Fr!��cls�remoter!r!r"�check-szSuSEPolicy.checkcCs|s|jS|S�N)�_tmp_dir)r�opt_tmp_dirr!r!r"�get_tmp_dir4szSuSEPolicy.get_tmp_dircCs|��Sr()�	host_name)rr!r!r"�get_local_name9szSuSEPolicy.get_local_name�NNTN)r#)
�__name__�
__module__�__qualname__�distro�vendor�vendor_urlsr)r�classmethodr'r+r-�
__classcell__r!r!rr"rs�rcsDeZdZdZdZdgZed�Z		d�fdd�	Ze	d	d
��Z
�ZS)�OpenSuSEPolicy�OpenSuSEr)zCommunity Websitezhttps://www.opensuse.org/aJThis command will collect diagnostic and configuration information from this %(distro)s system and installed applications.

An archive containing the collected information will be generated in %(tmpdir)s and may be provided to a %(vendor)s support representative.

No changes will be made to system configuration.
%(vendor_text)s
NTcstt|�j||||d�dS)Nr	)rr7rrrr!r"rNs
�zOpenSuSEPolicy.__init__cCs|r|j|vStj�d�S)z=This method checks to see if we are running on SuSE.
        z/etc/SUSE-brand)r2r�path�isfiler$r!r!r"r'Ts
zOpenSuSEPolicy.checkr.)r/r0r1r2r3r4�_�msgrr5r'r6r!r!rr"r7=s
�r7)rr�sos.report.pluginsrr�sos.policies.distrosr�!sos.policies.package_managers.rpmr�sosrr;rr7r!r!r!r"�<module>s	*

Spamworldpro Mini