o id@s8ddlmZmZddlmZddZGdddeZdS)) CosPluginIndependentPlugin) LinuxPolicycCs| p |dS)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 #)striplstrip startswith)liner :/usr/lib/python3/dist-packages/sos/policies/distros/cos.py_blank_or_comments r csJeZdZdZdZdgZeegZdZ  d fdd Z e d d d Z Z S) CosPolicyzContainer-Optimized OSzGoogle Cloud Platform)zDistribution Websitez0https://cloud.google.com/container-optimized-os/z5sz"CosPolicy.check..IDcosF)distroopendictIOErrorKeyError)clsremotefp os_releaser r r check.s   (zCosPolicy.check)NNTN)r)__name__ __module__ __qualname__r vendor vendor_urlsrrrPATHr classmethodr) __classcell__r r rr r sr N)sos.report.pluginsrrsos.policies.distrosrr r r r r r s