관리-도구
편집 파일: rhnPackageInfo.cpython-36.opt-1.pyc
3 e�$g� � @ sV d dl mZ d dl mZ d dl mZ d dl mZ dd� Zddd �Zd d� Zdd � ZdS )� )�up2dateAuth)� up2dateLog)� rhnserver)�pkgUtilsc C s8 t j� }|jdt| d � � |jdt| d � � d S )Nz&Adding packages to package profile: %sZaddedz*Removing packages from package profile: %sZremoved)r �initLog�log_me�pprint_pkglist)Zpkgs�log� r �$/usr/lib/python3.6/rhnPackageInfo.py�logDeltaPackages s r Nc C s dS |j jtj � |� dS )z; get a list of installed packages and send it to rhnServer NzUpdating package profile� )ZgetArch)�timeoutz xmlrpc.packages.extended_profile� )r r r r ZgetInstalledPackageListr Z RhnServerZcapabilitiesZ hasCapability�convertPackagesFromHashToListZregistrationZupdate_packagesr ZgetSystemId)r r �packages�sr r r �updatePackageProfile s r c C s>