| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d36127d commit a1bee94
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1512,7 +1512,7 @@ def glob_to_var(dir_base, dir_sub, patch_dir): | |||
| 1512 | 1512 | for ent in files: | |
| 1513 | 1513 | (path, dirs, files) = ent | |
| 1514 | 1514 | for file in files: | |
| 1515 | - if file.endswith('.cpp') or file.endswith('.c') or file.endswith('.h'): | ||
| 1515 | + if file.endswith(('.cpp', '.c', '.h')): | ||
| 1516 | 1516 | # srcfile uses "slash" as dir separator as its output is consumed by gyp | |
| 1517 | 1517 | srcfile = '%s/%s' % (dir_sub, file) | |
| 1518 | 1518 | if patch_dir: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments