summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2018-03-27 14:30:46 -0400
committerJonathan Abrahams <jonathan@mongodb.com>2018-04-05 14:41:58 -0400
commitc50c68fef179d9306f1a3432f48985bf20555e38 (patch)
treea1c208329a090c54a8a1f02558b2be87b830a8ab /SConstruct
parenta5dacf7092f51055dd774a1911a48815bb9a1e0e (diff)
downloadmongo-c50c68fef179d9306f1a3432f48985bf20555e38.tar.gz
SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
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()