Merge branch 'master' of ssh://bitbucket.org/yackob03/quay into carmensandiego

This commit is contained in:
Jake Moshenko 2014-06-23 11:26:14 -04:00
commit da12b940a9

View file

@ -315,7 +315,7 @@ class GithubBuildTrigger(BuildTrigger):
def handle_trigger_request(self, request, auth_token, config):
payload = request.get_json()
if not payload or not 'head_commit' in payload:
if not payload or payload.get('head_commit') is None:
raise SkipRequestException()
if 'zen' in payload: