fix two bug

This commit is contained in:
yfszzx 2022-10-17 22:38:46 +08:00
parent c408a0b41c
commit de179cf8fd

View File

@ -11,6 +11,7 @@ python = sys.executable
git = os.environ.get('GIT', "git") git = os.environ.get('GIT', "git")
index_url = os.environ.get('INDEX_URL', "") index_url = os.environ.get('INDEX_URL', "")
def extract_arg(args, name): def extract_arg(args, name):
return [x for x in args if x != name], name in args return [x for x in args if x != name], name in args