Parent Directory | Revision Log | Patch
revision 1.40 by bescoto, Sat Mar 26 17:10:57 2005 UTC | revision 1.41 by bescoto, Tue Aug 9 05:35:47 2005 UTC | |
---|---|---|
# | Line 211 class Select: | Line 211 class Select: |
211 | """Run through the selection functions and return dominant val 0/1/2""" | """Run through the selection functions and return dominant val 0/1/2""" |
212 | for sf in self.selection_functions: | for sf in self.selection_functions: |
213 | result = sf(rp) | result = sf(rp) |
214 | if result is not None: return result | if result == 1 or result == 0 or (result == 2 and rp.isdir()): |
215 | return result | |
216 | return 1 | return 1 |
217 | ||
218 | def ParseArgs(self, argtuples, filelists): | def ParseArgs(self, argtuples, filelists): |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |