HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/sos/policies/distros/__pycache__/cos.cpython-36.opt-1.pyc
3

-�_gj�@s8ddlmZmZddlmZdd�ZGdd�de�ZdS)�)�	CosPlugin�IndependentPlugin)�LinuxPolicycCs|j�p|j�jd�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.6/cos.py�_blank_or_commentsrcs<eZdZdZdgZdZdZeegZ	dZ
d�fd	d
�	Z�ZS)
�	CosPolicyzGoogle Cloud Platform�Distribution Website�0https://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__)rr)NNTN)
�__name__�
__module__�__qualname__ZvendorZvendor_urlsZos_release_nameZ
os_release_idrrr�PATHr�
__classcell__r
r
)rrr
sr
N)Zsos.report.pluginsrrZsos.policies.distrosrrr
r
r
r
r�<module>s