summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-24 14:57:14 +0100
committerhut <hut@lavabit.com>2009-12-24 14:57:14 +0100
commitf430499170204931fdf886da118dc8e4765c925c (patch)
treed3912abb75d477d3fdf25140ad82bceb56f9abef
parentd35bac82e6ebdbd12701f868efb104ea54c316eb (diff)
downloadranger-f430499170204931fdf886da118dc8e4765c925c.tar.gz
fixed directory.load_content_if_outdated with links
the wrong mtime has been compared
-rw-r--r--ranger/fsobject/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/directory.py b/ranger/fsobject/directory.py
index b83e1592..52c4cc60 100644
--- a/ranger/fsobject/directory.py
+++ b/ranger/fsobject/directory.py
@@ -332,7 +332,7 @@ class Directory(SuperClass, SettingsAware):
 			return True
 
 		import os
-		real_mtime = os.stat(self.path).st_mtime
+		real_mtime = os.lstat(self.path).st_mtime
 		cached_mtime = self.stat.st_mtime
 
 		if real_mtime != cached_mtime:
f2b
5d3fd37 ^
1076f2b




650a1fb ^
01a8d44 ^
650a1fb ^
1076f2b
650a1fb ^
1076f2b
650a1fb ^
1076f2b

650a1fb ^
1076f2b
eff4478 ^
1076f2b
7b5638f ^

98c6a92 ^
98c6a92 ^

02cea3b ^
7b5638f ^
2b66f7a ^
98c6a92 ^
7b5638f ^
1076f2b

dc5c070 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48