Commit 0c4a6a3a authored by dpranke@chromium.org's avatar dpranke@chromium.org

add source_file_filter to CheckOwners() presubmit check

Review URL: http://codereview.chromium.org/6591064

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@76459 0039d316-1c4b-4281-b951-d872f2087c98
parent ade368c4
......@@ -626,8 +626,8 @@ def CheckBuildbotPendingBuilds(input_api, output_api, url, max_pendings,
return []
def CheckOwners(input_api, output_api):
affected_files = set(input_api.change.AffectedFiles())
def CheckOwners(input_api, output_api, source_file_filter=None):
affected_files = set(input_api.change.AffectedFiles(source_file_filter))
owners_db = input_api.owners_db
if input_api.is_commiting:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment