Fixed wrong test

BUG=366554

Review URL: https://codereview.chromium.org/271563002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@268647 0039d316-1c4b-4281-b951-d872f2087c98
changes/01/332501/1
pgervais@chromium.org 11 years ago
parent 64d819b659
commit e57b09db3a

@ -1427,7 +1427,7 @@ def DoPresubmitChecks(change,
def ScanSubDirs(mask, recursive):
if not recursive:
return [x for x in glob.glob(mask) if '.svn' not in x and '.git' not in x]
return [x for x in glob.glob(mask) if x not in ('.svn', '.git')]
else:
results = []
for root, dirs, files in os.walk('.'):

Loading…
Cancel
Save