softwareupdate: Also allow {target} in pip install urls, as a synonym for {target_version}
This commit is contained in:
1 parent
f813e6317b
commit
228fb21ceb
1 file changed
+1
-1
@@ -24,7 +24,7 @@ def perform_update(target, check, target_version):
|
||||
install_arg = check["pip"].format(target_version=target_version)
|
||||
|
||||
logger.debug("Target: %s, executing pip install %s" % (target, install_arg))
|
||||
pip_args = ["install", check["pip"].format(target_version=target_version)]
|
||||
pip_args = ["install", check["pip"].format(target_version=target_version, target=target_version)]
|
||||
_pip.main(pip_args)
|
||||
|
||||
if "force_reinstall" in check and check["force_reinstall"]:
|
||||
|
||||
Reference in new issue
Block a user