VULN_CHECK_I913V6 ;jdZddlZddlZddlZddlmZddlmZejddZ e e dse je _ e jZ d Z d Zd Zd Zy) zutility functions for up2dateN)config getPlatformzrhn-client-toolsT)fallbackugettextctj}|drt|dStdk(rt j St j S)z3 Returns the version of redhat-release rpm versionOverridedeb)rinitUp2dateConfigstrrdistrocodename major_version)cfgs @/usr/lib/python3.12/site-packages/up2date_client/up2dateUtils.py getVersionrsR  " " $C 3()**}     !!c tdk(ryy)z( Returns the name of the system r Ubuntu CloudLinuxrrr getOSReleaser#s} rc,tjdtjr9tdd}|j j }ddi}||vr||}|Stj d}tdk(r|dvrd}|d k(rd }|d z }|S) Nz/etc/rpm/platformrzia32e-redhat-linuxzx86_64-redhat-linuxr )i486i586i686i386x86_64amd64z -debian-linux)osaccessR_OKopenreadstripunamer)fdplatformreplacearchs rgetArchr-,s yy$bgg. %s +779??$()>? w x(H 88:a=D} + +D 8 D  Krcy)Nz3.0.5-1.el10.cloudlinuxrrrrversionr/As $r)__doc__r"gettextr up2date_clientrup2date_client.pkgplatformr translationthasattrr_rrr-r/rrrr8s`$  !2G*T:q*AJII "*%r