def _is_too_old(self, node): return datetime_to_timestamp(node.modified) < self._last_recycle
def preserve_mtime(node, full_path): mtime = datetime_to_timestamp(node.modified) os.utime(full_path, (mtime, mtime))
def _is_too_old(self, node): return datetime_to_timestamp(node.modified) < self._last_recycle
def preserve_mtime(node, full_path): mtime = datetime_to_timestamp(node.modified) os.utime(full_path, (mtime, mtime))