3
vh<8 ใ @ sย d dl mZmZmZ d dlZd dlZd dlZd dlZd dlm Z d dl
mZmZ d dl
mZ d dlZedZedZdd Zd
d Zdd
Zdd Zdd Zdd Zdd ZdddZdd ZdS )้ )ฺprint_functionฺdivisionฺabsolute_importN)ฺSyncedStore)ฺin_containerฺ make_utf8)ฺugettextzzWarning: A {attr} of "{download_value}" was recently set for this system by the entitlement server administrator.
{advice}zGIf you'd like to overwrite the server side change please run: {command}c sศ d}xb j D ]X}|j j|rDd}ttdjt|t jd qttdjt|t jd qW |dkrtdS tdjt jd}d j j }d
j jd| }t| fdd
|| jd dS )a
Uses the syspurposestore to add one or more values to a particular property.
:param args: The parsed args from argparse, expected attributes are:
prop_name: the string name of the property to add to
values: A list of the values to add to the given property (could be anything json-serializable)
:param syspurposestore: An SyspurposeStore object to manipulate
:return: None
FTzAdded "{value}" to {prop_name}.)ฺvalueฺ prop_namez=Not adding value "{value}" to {prop_name}; it already exists.Nz{attr} updated.)ฺattrฺ zsyspurpose add-{name} )ฺnamec s t fddjD S )Nc 3 s | ]}|j jg kV qd S )N)ฺgetr
)ฺ.0ฺx)ฺargsฺresฉ ๚/usr/lib/python3.6/cli.py๚