| Index: presubmit_support.py
|
| diff --git a/presubmit_support.py b/presubmit_support.py
|
| index 62a39be3cfb8e158a1bd7ea4590a9968bd7c6027..111db588aec44be481b084bc40db8aa819f9ed3a 100755
|
| --- a/presubmit_support.py
|
| +++ b/presubmit_support.py
|
| @@ -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('.'):
|
|
|