Merge branch 'openkylin/nile' of gitee.com:openkylin/kylin-system-updater into openkylin/nile
This commit is contained in:
commit
14235d01a7
|
@ -769,12 +769,12 @@ def PolicyKit_Authority(details = '', sender = None, InstPolicy = False, authent
|
|||
_verify_kylinsign = True
|
||||
if _allow_kylinsign == True and _verify_kylinsign == False: #策略: 阻止
|
||||
logging.info("unknown sources apply installation policies: deter")
|
||||
return True,"USI-policy-deter"
|
||||
# return True,"USI-policy-deter"
|
||||
elif _allow_kylinsign == True and _verify_kylinsign == True: #策略: 警告
|
||||
logging.info("unknown sources apply installation policies: warning")
|
||||
elif _allow_kylinsign == False and _verify_kylinsign == False: #策略: 关闭
|
||||
logging.info("unknown sources apply installation policies: close")
|
||||
return True,"USI-policy-close"
|
||||
# return True,"USI-policy-close"
|
||||
else:
|
||||
logging.warning("Unknown sources apply installation policies get failed.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue