Check if we want to skip this module.
(module)
| 101 | |
| 102 | |
| 103 | def shall_skip(module): |
| 104 | """Check if we want to skip this module.""" |
| 105 | # skip it if there is nothing (or just \n or \r\n) in the file |
| 106 | return path.getsize(module) <= 2 |
| 107 | |
| 108 | |
| 109 | def recurse_tree(rootpath, excludes, opts): |