[ARVADOS] updated: 4106786a571e8d919e474d8ae205c3b2c9042b26
git at public.curoverse.com
git at public.curoverse.com
Fri Feb 13 16:20:33 EST 2015
Summary of changes:
services/fuse/arvados_fuse/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via 4106786a571e8d919e474d8ae205c3b2c9042b26 (commit)
from cc5699578c16dfb96911b8abcd1b35b8ec0ed7c0 (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 4106786a571e8d919e474d8ae205c3b2c9042b26
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Fri Feb 13 16:22:43 2015 -0500
5095: Record mtime() from group#contents
diff --git a/services/fuse/arvados_fuse/__init__.py b/services/fuse/arvados_fuse/__init__.py
index 819f43a..0a14fe2 100644
--- a/services/fuse/arvados_fuse/__init__.py
+++ b/services/fuse/arvados_fuse/__init__.py
@@ -301,6 +301,7 @@ class CollectionDirectory(Directory):
self.collection_object = None
if isinstance(collection, dict):
self.collection_locator = collection['uuid']
+ self._mtime = convertTime(collection['modified_at']) if 'modified_at' in collection else 0
else:
self.collection_locator = collection
@@ -391,7 +392,7 @@ class CollectionDirectory(Directory):
return super(CollectionDirectory, self).__contains__(k)
def mtime(self):
- return convertTime(self.collection_object["modified_at"]) if self.collection_object is not None and 'modified_at' in self.collection_object else 0
+ return convertTime(self.collection_object["modified_at"]) if self.collection_object is not None and 'modified_at' in self.collection_object else self._mtime
class MagicDirectory(Directory):
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list