Adding owners check in presubmit script.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@62 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
96a7a0730c
commit
1198db9dd6
11
PRESUBMIT.py
11
PRESUBMIT.py
@ -24,12 +24,13 @@ def CheckChangeOnUpload(input_api, output_api):
|
||||
|
||||
|
||||
|
||||
def CheckChangeOnCommit (input_api, output_api):
|
||||
results = []
|
||||
results.extend(input_api.canned_checks.CheckOwners(input_api, output_api))
|
||||
return results
|
||||
|
||||
|
||||
#def CheckChangeOnCommit (input_api, output_api):
|
||||
# results = []
|
||||
# sources = lambda x: input_api.FilterSourceFile(x, black_list=black_list)
|
||||
# results.extend(input_api.canned_checks.CheckOwners(input_api, output_api, source_file_filter=sources))
|
||||
# return results
|
||||
|
||||
|
||||
#sources = lambda x: input_api.FilterSourceFile(x, black_list=black_list)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user