From 5c26be43e6c48f3c36e8d122a80d96e0eb6c6296 Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 6 Dec 2021 16:55:55 +0700 Subject: [PATCH] skip instead of cancle update --- version_check.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/version_check.py b/version_check.py index 0ada6788..4bfeb3f7 100755 --- a/version_check.py +++ b/version_check.py @@ -2,7 +2,6 @@ """ check requirements.txt for outdated packages """ import pathlib -import sys import requests @@ -109,8 +108,7 @@ def main(): if input_response == "y": handler.apply_updates() else: - print("cancel update...") - sys.exit(1) + print("skip update...") if __name__ == "__main__":