Update by natay on Thu Mar 15 08:37:43 EDT 2018 from natay
@@ -153,6 +153,9 @@ class BiostarFileSystem(AbstractedFS):
filetype = "dir"
timefunc = time.localtime
+ if self.cmd_channel.use_gmt_times:
+ timefunc = time.gmtime
+
for uid in listing:
instance = project = klass.objects.filter(uid=uid).first()
rfname = instance.get_project_dir()
@@ -161,9 +164,6 @@ class BiostarFileSystem(AbstractedFS):
project = instance.project
filetype = 'file' if len(instance.get_files()) <= 1 else "dir"
- if self.cmd_channel.use_gmt_times:
- timefunc = time.gmtime
-
perm = perm_map(project=project, user=self.user)
st = self.stat(rfname)
unique = "%xg%x" % (st.st_dev, st.st_ino)
