From 96c73754dbc1de697f322a682f9aaa7f9cd8b1d2 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 30 Mar 2019 20:06:00 -0500 Subject: [PATCH] Ensure pkg_name is defined. --- lugito/webhooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lugito/webhooks.py b/lugito/webhooks.py index bae8a15..1b9bc28 100644 --- a/lugito/webhooks.py +++ b/lugito/webhooks.py @@ -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.")