You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:13:59 UTC

[buildstream] 38/43: Remove some prints and whitespace

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch jmac/cas_to_cas_oct_v2
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 7bb8f20f9f955a68fb6c70f6425cc2e48fbd87d4
Author: Jim MacArthur <ji...@codethink.co.uk>
AuthorDate: Tue Oct 30 11:17:21 2018 +0000

    Remove some prints and whitespace
---
 buildstream/storage/_casbaseddirectory.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/buildstream/storage/_casbaseddirectory.py b/buildstream/storage/_casbaseddirectory.py
index 75184d2..40c506d 100644
--- a/buildstream/storage/_casbaseddirectory.py
+++ b/buildstream/storage/_casbaseddirectory.py
@@ -87,9 +87,7 @@ class CasBasedDirectory(Directory):
         if ref:
             with open(self.cas_cache.objpath(ref), 'rb') as f:
                 self.pb2_directory.ParseFromString(f.read())
-                print("Opening ref {} and parsed into directory containing: {} {} {}.".format(ref.hash, [d.name for d in self.pb2_directory.directories],
-                                                                                        [d.name for d in self.pb2_directory.symlinks],
-                                                                                        [d.name for d in self.pb2_directory.files]))
+
         self.ref = ref
         self.index = OrderedDict()
         self.parent = parent
@@ -141,7 +139,6 @@ class CasBasedDirectory(Directory):
         # We don't need to do anything more than that; files were already added ealier, and symlinks are
         # part of the directory structure.
 
-
     def _find_pb2_entry(self, name):
         if name in self.index:
             return self.index[name].pb_object