diff options
author | Mikhail Shchatko <mikhail.shchatko@mongodb.com> | 2021-12-01 20:29:21 +0300 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-12-02 07:56:30 +0000 |
commit | e90b4af56fb835f50d81a7b8c8768adc7b4f5dff (patch) | |
tree | 9c072e36e3729f0fe926303e0a295abc311a0dea /buildscripts/resmokelib/setup_multiversion | |
parent | a77f5920ecf9ff2090e0452744962d70fe9d9d21 (diff) | |
download | mongo-e90b4af56fb835f50d81a7b8c8768adc7b4f5dff.tar.gz |
SERVER-61838 Move constant out from setup-multiversion config
Diffstat (limited to 'buildscripts/resmokelib/setup_multiversion')
-rw-r--r-- | buildscripts/resmokelib/setup_multiversion/config.py | 2 | ||||
-rw-r--r-- | buildscripts/resmokelib/setup_multiversion/setup_multiversion.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/buildscripts/resmokelib/setup_multiversion/config.py b/buildscripts/resmokelib/setup_multiversion/config.py index 0a39ca5e808..e81fd445f58 100644 --- a/buildscripts/resmokelib/setup_multiversion/config.py +++ b/buildscripts/resmokelib/setup_multiversion/config.py @@ -6,8 +6,6 @@ SETUP_MULTIVERSION_CONFIG = "buildscripts/resmokeconfig/setup_multiversion/setup # Records the paths of installed multiversion binaries on Windows. WINDOWS_BIN_PATHS_FILE = "windows_binary_paths.txt" -USE_EXISTING_RELEASES_FILE = False - class Buildvariant: """Class represents buildvariant in setup multiversion config.""" diff --git a/buildscripts/resmokelib/setup_multiversion/setup_multiversion.py b/buildscripts/resmokelib/setup_multiversion/setup_multiversion.py index 9a129652dee..66fed591a66 100644 --- a/buildscripts/resmokelib/setup_multiversion/setup_multiversion.py +++ b/buildscripts/resmokelib/setup_multiversion/setup_multiversion.py @@ -22,6 +22,7 @@ import yaml from requests.exceptions import HTTPError +from buildscripts.resmokelib import multiversionsetupconstants from buildscripts.resmokelib.plugin import PluginInterface, Subcommand from buildscripts.resmokelib.setup_multiversion import config, download, github_conn from buildscripts.resmokelib.utils import evergreen_conn, is_windows @@ -438,7 +439,7 @@ class SetupMultiversionPlugin(PluginInterface): dv=args.download_python_venv) if args.use_existing_releases_file: - config.USE_EXISTING_RELEASES_FILE = True + multiversionsetupconstants.USE_EXISTING_RELEASES_FILE = True return SetupMultiversion( install_dir=args.install_dir, link_dir=args.link_dir, mv_platform=args.platform, |