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:
^
a66c4a26 ^
8fa87054 ^
aefd8048 ^
8fa87054 ^


a66c4a26 ^

f027adc0 ^
b289f679 ^

5c210a96 ^

3de15ddd ^

fb275079 ^

5c210a96 ^
3d566884 ^
e30d16cb ^
621a1a39 ^
c44b726e ^
465bff73 ^




f8e96a97 ^
b289f679 ^
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
49
50
51
52