(self)
return datetime object representing last modification time, or None if unavailable
return datetime object representing last modification time, or None if unavailable
return datetime object representing last modification time or None if unavailable
def lastmodtime(self):
        """ return datetime object representing last modification time, or None if unavailable """
        info = self.fs.info(self.cname)
        if self.islocal() and info is not None:
            return datetime.fromtimestamp(info["mtime"])
        else:
            return getattr(info, "LastModified", None)
def lastmodtime ( self ) : info = self . fs . info ( self . cname ) if self . islocal ( ) and info is not None : return datetime . fromtimestamp ( info [ "mtime" ] ) else : return getattr ( info , "LastModified" , None )