diff options
-rw-r--r-- | buildstream/plugins/sources/local.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/buildstream/plugins/sources/local.py b/buildstream/plugins/sources/local.py index 830df873f..f43041194 100644 --- a/buildstream/plugins/sources/local.py +++ b/buildstream/plugins/sources/local.py @@ -35,6 +35,7 @@ """ import os +import sys from buildstream import Source, SourceError, Consistency from buildstream import utils @@ -67,9 +68,14 @@ class LocalSource(Source): else: filelist = [(self.path, self.fullpath)] + print("{}: Local file list for unique key: {}".format(self, filelist), file=sys.stderr) + # Return a list of (relative filename, sha256 digest) tuples, a sorted list # has already been returned by list_relative_paths() self.__unique_key = [(relpath, unique_key(fullpath)) for relpath, fullpath in filelist] + + print("{}: Local unique key: {}".format(self, self.__unique_key), file=sys.stderr) + return self.__unique_key def get_consistency(self): |