[ARVADOS] updated: 55778ad90a9b869f514e729b3f85c12383f4e2a7

Git user git at public.curoverse.com
Mon Apr 4 15:40:38 EDT 2016


Summary of changes:
 services/fuse/arvados_fuse/fusedir.py | 4 ++++
 services/fuse/tests/test_cache.py     | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

       via  55778ad90a9b869f514e729b3f85c12383f4e2a7 (commit)
      from  eea5f75077ca5d3adced3ad3d90f755d0fa5b3d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 55778ad90a9b869f514e729b3f85c12383f4e2a7
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Mon Apr 4 15:40:33 2016 -0400

    8712: Set self.collection = None when clearing the contents of a
    CollectionDirectory, so that it gets properly reloaded on update().

diff --git a/services/fuse/arvados_fuse/fusedir.py b/services/fuse/arvados_fuse/fusedir.py
index 196bb22..bfcf0ef 100644
--- a/services/fuse/arvados_fuse/fusedir.py
+++ b/services/fuse/arvados_fuse/fusedir.py
@@ -320,6 +320,10 @@ class CollectionDirectoryBase(Directory):
         self.flush()
         src.flush()
 
+    def clear(self, force=False):
+        super(CollectionDirectoryBase, self).clear(force)
+        self.collection = None
+
 
 class CollectionDirectory(CollectionDirectoryBase):
     """Represents the root of a directory tree representing a collection."""
diff --git a/services/fuse/tests/test_cache.py b/services/fuse/tests/test_cache.py
index fdbaaba..7dab2c5 100644
--- a/services/fuse/tests/test_cache.py
+++ b/services/fuse/tests/test_cache.py
@@ -23,7 +23,6 @@ class TmpCollectionTest(IntegrationTest):
             f.write("bloop%i" % i)
             cw.save_new()
             pdh.append(cw.portable_data_hash())
-            print cw.portable_data_hash(), cw.manifest_text()
         self.pool_test(self.mnt, pdh)
 
     @staticmethod

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list