diff options
author | hut <hut@lavabit.com> | 2010-01-07 13:18:29 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-07 13:18:29 +0100 |
commit | bba8d293c32050b79cfc2b0ac2807f324ef44800 (patch) | |
tree | 6884eeac33bdef7d51afc0534a8345b05a8b5cbf /ranger | |
parent | 5177b02b4934ea6e04053f5b5d51cac8ecec6f58 (diff) | |
download | ranger-bba8d293c32050b79cfc2b0ac2807f324ef44800.tar.gz |
directory: fixed non reloading symlinked directories
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/fsobject/directory.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py index 40e8caa9..817f5603 100644 --- a/ranger/fsobject/directory.py +++ b/ranger/fsobject/directory.py @@ -139,7 +139,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware): filenames.append(join(self.path, fname)) yield - self.load_content_mtime = os.lstat(self.path).st_mtime + self.load_content_mtime = os.stat(self.path).st_mtime marked_paths = set(map( \ lambda obj: obj.path, self.marked_items)) @@ -335,7 +335,7 @@ class Directory(FileSystemObject, Accumulator, SettingsAware): return True try: - real_mtime = os.lstat(self.path).st_mtime + real_mtime = os.stat(self.path).st_mtime except OSError: real_mtime = None if self.stat: |