diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2018-03-27 14:30:46 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2018-04-05 14:41:58 -0400 |
commit | c50c68fef179d9306f1a3432f48985bf20555e38 (patch) | |
tree | a1c208329a090c54a8a1f02558b2be87b830a8ab /SConstruct | |
parent | a5dacf7092f51055dd774a1911a48815bb9a1e0e (diff) | |
download | mongo-c50c68fef179d9306f1a3432f48985bf20555e38.tar.gz |
SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct index 723880d2e21..16a9e30b31b 100644 --- a/SConstruct +++ b/SConstruct @@ -509,7 +509,7 @@ try: print("version.json does not contain a version string") Exit(1) if 'githash' not in version_data: - version_data['githash'] = utils.getGitVersion() + version_data['githash'] = utils.get_git_version() except IOError as e: # If the file error wasn't because the file is missing, error out @@ -518,8 +518,8 @@ except IOError as e: Exit(1) version_data = { - 'version': utils.getGitDescribe()[1:], - 'githash': utils.getGitVersion(), + 'version': utils.get_git_describe()[1:], + 'githash': utils.get_git_version(), } except ValueError as e: @@ -3210,8 +3210,8 @@ if incremental_link.exists(env): def checkErrorCodes(): import buildscripts.errorcodes as x - if x.checkErrorCodes() == False: - env.FatalError("next id to use: {0}", x.getNextCode()) + if x.check_error_codes() == False: + env.FatalError("next id to use: {0}", x.get_next_code()) checkErrorCodes() |