Ensure pkg_name is defined.

This commit is contained in:
Simon Quigley 2019-03-30 20:06:00 -05:00
parent e6afdab9e1
commit 96c73754db

View File

@ -178,6 +178,7 @@ def jenkinstrigger():
return 'Ok'
object_type = lugito.request_data["object"]["type"]
pkg_name = lugito.get_object_string("name")
if object_type == "CMIT":
logger.debug("Object is a commit.")