HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/policies/distros/__pycache__/cos.cpython-39.pyc
a

\��hj�@s8ddlmZmZddlmZdd�ZGdd�de�ZdS)�)�	CosPlugin�IndependentPlugin)�LinuxPolicycCs|��p|���d�S)aHTest whether line is empty of contains a comment.

        Test whether the ``line`` argument is either blank, or a
        whole-line comment.

        :param line: the line of text to be checked.
        :returns: ``True`` if the line is blank or a comment,
                  and ``False`` otherwise.
        :rtype: bool
    �#)�strip�lstrip�
startswith)�line�r
�</usr/lib/python3.9/site-packages/sos/policies/distros/cos.py�_blank_or_commentsrcs<eZdZdZdgZdZdZeegZ	dZ
d
�fdd	�	Z�ZS)�	CosPolicyzGoogle Cloud Platform)zDistribution Websitez0https://cloud.google.com/container-optimized-os/zContainer-Optimized OSZcosz</usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbinNTcs(t�j||||d�|jtg7_dS)N)�sysroot�init�
probe_runtime�remote_exec)�super�__init__�valid_subclassesr
)�selfrrrr��	__class__r
rr(s

�zCosPolicy.__init__)NNTN)
�__name__�
__module__�__qualname__ZvendorZvendor_urlsZos_release_nameZ
os_release_idrrr�PATHr�
__classcell__r
r
rrr
s��r
N)Zsos.report.pluginsrrZsos.policies.distrosrrr
r
r
r
r�<module>s