summaryrefslogtreecommitdiff
path: root/SConscript.buildinfo
diff options
context:
space:
mode:
Diffstat (limited to 'SConscript.buildinfo')
-rw-r--r--SConscript.buildinfo4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConscript.buildinfo b/SConscript.buildinfo
index e366e7bd5da..d9c702f0648 100644
--- a/SConscript.buildinfo
+++ b/SConscript.buildinfo
@@ -32,8 +32,8 @@ namespace mongo {
def generate_buildinfo(env, target, source, **kw):
git_version = buildscripts.utils.getGitVersion()
- if env["MONGO_MODULES"]:
- git_version += " modules: %s" % (", ".join(env["MONGO_MODULES"].keys()))
+ if len(env["MONGO_MODULES"]):
+ git_version += " modules: " + ", ".join(env["MONGO_MODULES"])
contents = str(source[0]) % dict(git_version=git_version,
sys_info=getSysInfo())