diff --git a/backend/SystemUpdater/Core/utils.py b/backend/SystemUpdater/Core/utils.py index 00a4742..72868fa 100644 --- a/backend/SystemUpdater/Core/utils.py +++ b/backend/SystemUpdater/Core/utils.py @@ -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.")