✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.4
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /lib/python3.6/site-packages/up2date_client//up2dateUtils.py
# Client code for Update Agent
# Copyright (c) 1999--2018 Red Hat, Inc.  Distributed under GPLv2.
#
# Author: Preston Brown <pbrown@redhat.com>
#         Adrian Likins <alikins@redhat.com>
#
"""utility functions for up2date"""

import os
import gettext
import distro
from up2date_client import config
from up2date_client.pkgplatform import getPlatform

t = gettext.translation('rhn-client-tools', fallback=True)
# Python 3 translations don't have a ugettext method
if not hasattr(t, 'ugettext'):
    t.ugettext = t.gettext
_ = t.gettext



def getVersion():
    """
    Returns the version of redhat-release rpm
    """
    cfg = config.initUp2dateConfig()
    if cfg["versionOverride"]:
        return str(cfg["versionOverride"])

    if getPlatform() == 'deb':
        return distro.codename()
    return distro.major_version()

def getOSRelease():
    """
    Returns the name of the system
    """
    if getPlatform() == 'deb':
        return 'Ubuntu'
    return "CloudLinux"


def getArch():
    if os.access("/etc/rpm/platform", os.R_OK):
        fd = open("/etc/rpm/platform", "r")
        platform = fd.read().strip()

        #bz 216225
        #handle some replacements..
        replace = {"ia32e-redhat-linux": "x86_64-redhat-linux"}
        if platform in replace:
            platform = replace[platform]
        return platform
    arch = os.uname()[4]
    if getPlatform() == 'deb':
        # On debian we only support i386
        if arch in ['i486', 'i586', 'i686']:
            arch = 'i386'
        if arch == 'x86_64':
            arch = 'amd64'
        arch += '-debian-linux'
    return arch

def version():
    # substituted to the real version by the Makefile at installation time.
    return "3.0.3-2.module_el8.10.0+7072+83ec8341.cloudlinux"


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
9 Jun 2026 7.04 AM
root / root
0755
__pycache__
--
19 Jun 2026 7.00 AM
root / root
0755
__init__.py
0 KB
11 Jun 2026 10.58 AM
root / root
0644
clpwd.py
3.558 KB
11 Jun 2026 10.58 AM
root / root
0644
config.py
13.259 KB
11 Jun 2026 10.58 AM
root / root
0644
hardware.py
5.094 KB
11 Jun 2026 10.58 AM
root / root
0644
pkgplatform.py
0.302 KB
11 Jun 2026 11.31 AM
root / root
0644
rhncli.py
7.461 KB
11 Jun 2026 10.58 AM
root / root
0644
rhnreg.py
10.517 KB
11 Jun 2026 10.58 AM
root / root
0644
rhnserver.py
8.536 KB
11 Jun 2026 10.58 AM
root / root
0644
rpcServer.py
11.544 KB
11 Jun 2026 10.58 AM
root / root
0644
statistics.py
1.274 KB
11 Jun 2026 10.58 AM
root / root
0644
up2dateAuth.py
10.492 KB
11 Jun 2026 10.58 AM
root / root
0644
up2dateErrors.py
7.986 KB
11 Jun 2026 10.58 AM
root / root
0644
up2dateLog.py
2.059 KB
11 Jun 2026 10.58 AM
root / root
0644
up2dateUtils.py
1.729 KB
11 Jun 2026 11.31 AM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF