Skip to content

Commit faa9ce7

Browse files
committed
Removed fixes intended for different PR
1 parent b57fbf4 commit faa9ce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/toolchains/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,14 +363,14 @@ def scan_resources(self, path, exclude_paths=None):
363363
for d in copy(dirs):
364364
dir_path = join(root, d)
365365

366-
if d == '.hg' or d == '.git':
366+
if d == '.hg':
367367
resources.repo_dirs.append(dir_path)
368368
resources.repo_files.extend(self.scan_repository(dir_path))
369369

370370
if ((d.startswith('.') or d in self.legacy_ignore_dirs) or
371371
(d.startswith('TARGET_') and d[7:] not in labels['TARGET']) or
372372
(d.startswith('TOOLCHAIN_') and d[10:] not in labels['TOOLCHAIN']) or
373-
(d.upper() == 'TESTS') or
373+
(d == 'TESTS') or
374374
exists(join(dir_path, '.buildignore'))):
375375
dirs.remove(d)
376376

0 commit comments

Comments
 (0)