Fix variable access error

This commit is contained in:
Joseph Schorr 2015-05-03 18:15:11 -07:00
parent ff89cc9f1d
commit df2883bfb6

View file

@ -1276,6 +1276,7 @@ class GitLabBuildTrigger(BuildTriggerHandler):
if repo is False:
raise TriggerStartException('Could not find repository')
committer = None
if 'committer_email' in commit:
try:
[committer] = gl_client.getusers(search=commit['committer_email'])