summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Node/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Node/__init__.py')
-rw-r--r--src/engine/SCons/Node/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/SCons/Node/__init__.py b/src/engine/SCons/Node/__init__.py
index 8754c7d..28f1c19 100644
--- a/src/engine/SCons/Node/__init__.py
+++ b/src/engine/SCons/Node/__init__.py
@@ -608,7 +608,10 @@ class Node:
return binfo
def rel_path(self, other):
- return str(other)
+ # Using other.__str__() instead of str(other) lets the Memoizer
+ # get the right method for the underlying Node object, not the
+ # __str__() method for the Memoizer wrapper object.
+ return other.__str__()
def del_cinfo(self):
try: