/usr/lib/python3/dist-packages/DistUpgrade/__pycache__
NameSizeModeActions
apt_btrfs_snapshot.cpython-310.pyc93400644editdlrm
apt_clone.cpython-310.pyc222920644editdlrm
dist-upgrade.cpython-310.pyc2780644editdlrm
distro.cpython-310.pyc147090644editdlrm
DistUpgradeApport.cpython-310.pyc37340644editdlrm
DistUpgradeCache.cpython-310.pyc355350644editdlrm
DistUpgradeConfigParser.cpython-310.pyc30060644editdlrm
DistUpgradeController.cpython-310.pyc540930644editdlrm
DistUpgradeFetcher.cpython-310.pyc37880644editdlrm
DistUpgradeFetcherCore.cpython-310.pyc91910644editdlrm
DistUpgradeFetcherKDE.cpython-310.pyc65270644editdlrm
DistUpgradeFetcherSelf.cpython-310.pyc12960644editdlrm
DistUpgradeGettext.cpython-310.pyc20290644editdlrm
DistUpgradeMain.cpython-310.pyc60550644editdlrm
DistUpgradePatcher.cpython-310.pyc18640644editdlrm
DistUpgradeQuirks.cpython-310.pyc462210644editdlrm
DistUpgradeVersion.cpython-310.pyc1770644editdlrm
DistUpgradeView.cpython-310.pyc148250644editdlrm
DistUpgradeViewGtk3.cpython-310.pyc262760644editdlrm
DistUpgradeViewKDE.cpython-310.pyc302080644editdlrm
DistUpgradeViewNonInteractive.cpython-310.pyc114330644editdlrm
DistUpgradeViewText.cpython-310.pyc109400644editdlrm
GtkProgress.cpython-310.pyc25810644editdlrm
MetaRelease.cpython-310.pyc94720644editdlrm
QUrlOpener.cpython-310.pyc19450644editdlrm
ReleaseNotesViewer.cpython-310.pyc50150644editdlrm
ReleaseNotesViewerWebkit.cpython-310.pyc20580644editdlrm
SimpleGtk3builderApp.cpython-310.pyc17590644editdlrm
SimpleGtkbuilderApp.cpython-310.pyc17320644editdlrm
telemetry.cpython-310.pyc29790644editdlrm
utils.cpython-310.pyc151910644editdlrm
xorg_fix_proprietary.cpython-310.pyc30700644editdlrm
__init__.cpython-310.pyc1470644editdlrm
Edit: /usr/lib/python3/dist-packages/DistUpgrade/__pycache__/telemetry.cpython-310.pyc (2979B)
o >Ic @sBddlZddlZddlZddlZddlZddZGdddZdS)NcCstjdur tt_tjS)z'Return a singleton _Telemetry instance.N) _Telemetry _telemetryrr7/usr/lib/python3/dist-packages/DistUpgrade/telemetry.pygets rc@s@eZdZdZddZddZddZdd Zd d Zd d Z dS)rNcCsi|_i|_||_tjgdtjddd|jd<| dd|_ z t d}| |jd <WdWdS1s@wYWdSt yQYdSw) N) lsb_releasez-rz-sT)stdoutuniversal_newlinesrFromstartz/var/log/upgrade/telemetryz/var/log/installer/media-info InstallMedia)_metrics _stages_hist_get_current_uptime _start_time subprocessPopenPIPE communicatestrip add_stage _dest_pathopenreadlineFileNotFoundError)selffrrr__init__)s(    & z_Telemetry.__init__c Csd}z#td}t|d}WdW|S1swYW|StttfyD}ztdt |WYd}~|Sd}~ww)z6Get current uptime info. None if we couldn't fetch it.Nz /proc/uptimerz)Exception while fetching current uptime: ) rfloatreadsplitrOSError ValueErrorloggingwarningstr)ruptimererrrr8s  z_Telemetry._get_current_uptimecCs6|}|jdus |durdS||jt||j<dS)z(Record installer stage with current timeN)rrrint)r stage_namenowrrrrCsz_Telemetry.add_stagecC||jd<dS)zRecord updater typeTypeNr )r updater_typerrrset_updater_typeJz_Telemetry.set_updater_typecCr+)z*Record if the user had third party sourcesThirdPartySourcesNr-)rusingrrrset_using_third_party_sourcesNr0z(_Telemetry.set_using_third_party_sourcesc Cs|j|jd<tj|j}zrrrrrrrs