summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2014-12-10 03:45:01 +0100
committerhut <hut@lepus.uberspace.de>2014-12-10 03:45:41 +0100
commit616e1fb8357dab1c588a5507ba183206755e5a74 (patch)
tree7a158e58100178e9326bfc73628da6d132361c33
parent73f4b7befb2304f7a4b328938cd99f7135377c5c (diff)
downloadranger-616e1fb8357dab1c588a5507ba183206755e5a74.tar.gz
container.directory: Fixed :scout -tf, fixes #195
This was a regression from f9b4e8c0a31d38fb48ee0e61e17a9534f00fdd82
-rw-r--r--ranger/container/directory.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/container/directory.py b/ranger/container/directory.py
index 7d39daaf..6a8bd9ea 100644
--- a/ranger/container/directory.py
+++ b/ranger/container/directory.py
@@ -206,6 +206,9 @@ class Directory(FileSystemObject, Accumulator, Loadable):
         filters = [(lambda file: not hidden_filter.search(file.basename)) if hidden_filter else None,
                    (lambda file: self.filter.search(file.basename)) if self.filter else None,
                    self.inode_type_filter]
+
+        if self.temporary_filter:
+            filters.append(lambda file: self.temporary_filter.search(file.basename))
         self.files = [f for f in self.files_all if accept_file(f, filters)]
         self.move_to_obj(self.pointed_obj)
 
> 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210