summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim MacArthur <jim.macarthur@codethink.co.uk>2018-09-25 12:39:16 +0100
committerJim MacArthur <jim.macarthur@codethink.co.uk>2018-09-25 12:39:16 +0100
commit55b237e674323a9f7ce736886e6251bbb9daf8fc (patch)
tree3b9bb723f6730ddb283f8f3f583b53e06e20fc75
parenta7d1d169995856d636fde0a46a2deade8418afa3 (diff)
downloadbuildstream-jmac/cas_to_cas.tar.gz
Misc debugging printsjmac/cas_to_cas
-rw-r--r--buildstream/storage/_casbaseddirectory.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildstream/storage/_casbaseddirectory.py b/buildstream/storage/_casbaseddirectory.py
index 1912a89b4..cba041aa0 100644
--- a/buildstream/storage/_casbaseddirectory.py
+++ b/buildstream/storage/_casbaseddirectory.py
@@ -292,6 +292,8 @@ class CasBasedDirectory(Directory):
If a symlink target doesn't exist, it will attempt to create it
as a directory as long as it's within this directory tree.
+ Return value: a CasBasedDirectory.
+
"""
if isinstance(self.index[name].buildstream_object, Directory):
@@ -746,7 +748,7 @@ class CasBasedDirectory(Directory):
filelist.append(k)
print("Add file {}".format(k))
else:
- print("Unrecognised entry! {}".format(k))
+ print("list_relative_paths: Unrecognised entry! {}".format(k))
return filelist
def recalculate_hash(self):