summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authortycho garen <garen@tychoish.com>2017-09-22 12:08:02 -0400
committertycho garen <garen@tychoish.com>2017-09-22 13:31:24 -0400
commit9b90669185b95ff2f868b4fab8b3be3273fa2801 (patch)
tree089484e2b9a01ec653c6d4e4b04979a50e19cf7a /site_scons
parent7f3e6a9718c35901f28de816d820de8b7c766f67 (diff)
downloadmongo-9b90669185b95ff2f868b4fab8b3be3273fa2801.tar.gz
SERVER-30815: fix string reprepresentation of libdeps library
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/libdeps.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/site_scons/libdeps.py b/site_scons/libdeps.py
index 7bf5ff19a33..632ed29be53 100644
--- a/site_scons/libdeps.py
+++ b/site_scons/libdeps.py
@@ -68,6 +68,9 @@ class dependency(object):
# In static mode, all dependencies are public
self.dependency_type = deptype if dynamic else dependency.Public
+ def __str__(self):
+ return str(self.target_node)
+
class DependencyCycleError(SCons.Errors.UserError):
"""Exception representing a cycle discovered in library dependencies."""