Enable Gerrit support in Skia's PostUploadHook

BUG=skia:5676
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2299203002
NOTRY=true

Review-Url: https://codereview.chromium.org/2299203002
This commit is contained in:
rmistry 2016-09-01 09:54:01 -07:00 committed by Commit bot
parent b9a9e8788f
commit db0283bec9

View File

@ -443,12 +443,6 @@ def PostUploadHook(cl, change, output_api):
"""
results = []
if cl.IsGerrit():
results.append(
output_api.PresubmitNotifyResult(
'Post upload hooks are not yet supported for Gerrit CLs'))
return results
atleast_one_docs_change = False
all_docs_changes = True
for affected_file in change.AffectedFiles():