From 3dae4e74f426498284788c88c51fd92a3f36028a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 31 Oct 2017 12:31:09 -0500 Subject: [PATCH] Issue #1851. Cleanup. --- webcompat/webhooks/__init__.py | 1 - webcompat/webhooks/helpers.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webcompat/webhooks/__init__.py b/webcompat/webhooks/__init__.py index 06f032050..c684213bb 100644 --- a/webcompat/webhooks/__init__.py +++ b/webcompat/webhooks/__init__.py @@ -19,7 +19,6 @@ from helpers import is_github_hook from helpers import get_issue_info from helpers import new_opened_issue -from helpers import set_labels from helpers import signature_check from webcompat import app diff --git a/webcompat/webhooks/helpers.py b/webcompat/webhooks/helpers.py index 6742af6af..c3d8d63e6 100644 --- a/webcompat/webhooks/helpers.py +++ b/webcompat/webhooks/helpers.py @@ -133,6 +133,8 @@ def new_opened_issue(payload): '''When a new issue is opened, we set a couple of things. - Browser label + - Priority label + - Issue milestone ''' labels = [] issue_body = payload.get('issue')['body']