summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-12 15:55:41 +0100
committerhut <hut@lavabit.com>2010-03-12 15:55:41 +0100
commit7c60609d0484b3436b90e6a78513ded737e6d33a (patch)
tree8e9a812dd8e42617799137d90cd21a7c481a830a
parentcfcfd885dc15547d68340da024b571c8eddccc7c (diff)
downloadranger-7c60609d0484b3436b90e6a78513ded737e6d33a.tar.gz
fsobject: fixed crash on files which exist but can't be stated
-rw-r--r--ranger/fsobject/fsobject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py
index 0e67cba6..80ce1e48 100644
--- a/ranger/fsobject/fsobject.py
+++ b/ranger/fsobject/fsobject.py
@@ -152,7 +152,7 @@ class FileSystemObject(MimeTypeAware, FileManagerAware):
 			self.islink = stat.S_ISLNK(self.stat.st_mode)
 			self.accessible = True
 
-		if os.access(self.path, os.F_OK):
+		if self.accessible and os.access(self.path, os.F_OK):
 			self.exists = True
 			self.accessible = True
 
t; 2016-01-09 21:37:59 +0000 Added roster room themes' href='/danisanti/profani-tty/commit/theme_template?id=cd2458c0198bab99655248dd2e1071a862e5ef80'>cd2458c0 ^
0ae975c2 ^

30b5f112 ^
b21edfaa ^
30b5f112 ^





09cd2881 ^


a952776b ^
09cd2881 ^


1900402f ^
30b5f112 ^


446027b9 ^
30b5f112 ^






316b6a7b ^
30b5f112 ^
316b6a7b ^
cce01f1d ^
316b6a7b ^

30b5f112 ^
216493ef ^
316b6a7b ^
16fbdedc ^
b4482b9f ^
216493ef ^

b4482b9f ^
216493ef ^

b4482b9f ^
216493ef ^
5bccee93 ^
abc2f0de ^
97d96746 ^

cce01f1d ^
5bccee93 ^
f91b21a1 ^
2bda22c3 ^
a00095c8 ^
2bda22c3 ^

30b5f112 ^
b21edfaa ^
57dc5f14 ^
f0f3a739 ^
35239ee3 ^

fb7001cf ^
72c1c496 ^
bab75cae ^
0aa758cb ^
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141







































                      

        




            
                 
            
                 


              

















                      

                   

                    
                 
             





       


             
            


                  
               


           
         






                 
             
          
             
              

                
            
            
                   
                    
                      

                     
                       

                     
                       
              
                
                    

                   
                    
                 
                
                  
                          

                    
          
               
              
              

         
            
             
                
                  
[colours]
bkgnd=
titlebar=
titlebar.text=
titlebar.brackets=
titlebar.unencrypted=
titlebar.encrypted=
titlebar.untrusted=
titlebar.trusted=
titlebar.online=
titlebar.offline=
titlebar.away=
titlebar.chat=
titlebar.dnd=
titlebar.xa=
statusbar=
statusbar.text=
statusbar.brackets=
statusbar.active=
statusbar.new=
main.text=
main.text.me=
main.text.them=
main.splash=
main.time=
input.text=
subscribed=
unsubscribed=
otr.started.trusted=
otr.started.untrusted=
otr.ended=
otr.trusted=
otr.untrusted=
online=
away=
chat=
dnd=
xa=
offline=
incoming=
mention=
trigger=
typing=
gone=
error=
roominfo=
roommention=
roommention.term=
roomtrigger=
roomtrigger.term=
me=
them=
roster.header=
roster.chat=
roster.online=
roster.away=
roster.xa=
roster.dnd=
roster.offline=
roster.chat.active=
roster.online.active=
roster.away.active=
roster.xa.active=
roster.dnd.active=
roster.offline.active=
roster.chat.unread=
roster.online.unread=
roster.away.unread=
roster.xa.unread=
roster.dnd.unread=
roster.offline.unread=
roster.room=
roster.room.unread=
roster.room.trigger=
roster.room.mention=
occupants.header=
receipt.sent=

[ui]
beep=
flash=
splash=
wrap=
time.console=
time.chat=
time.muc=
time.config=
time.private=
time.xmlconsole=
time.lastactivity=
time.statusbar=
privileges=
presence=
intype=
enc.warn=
resource.title=
resource.message=
statuses.console=
statuses.chat=
statuses.muc=
roster=
roster.offline=
roster.empty=
roster.by=
roster.order=
roster.unread=
roster.count=
roster.priority=
roster.size=
roster.wrap=
roster.header.char=
roster.contact.char=
roster.contact.indent=
roster.resource=
roster.resource.char=
roster.resource.indent=
roster.resource.join=
roster.presence=
roster.presence.indent=
roster.status=
roster.contacts=
roster.unsubscribed=
roster.rooms=
roster.rooms.order=
roster.rooms.unread=
roster.rooms.pos=
roster.rooms.by=
roster.rooms.char=
roster.rooms.private.char=
roster.private=
roster.private.char=
occupants=
occupants.size=
occupants.jid=
wins.autotidy=
otr.char=
pgp.char=
console.muc=
console.chat=
console.private=
inputwin.position=