From a6762531e805f6d34909dfe606abffa15334c422 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Tue, 16 Dec 2014 12:16:49 -0500 Subject: [PATCH] remove unused imports --- endpoints/notificationmethod.py | 6 +----- tools/migrateslackwebhook.py | 2 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/endpoints/notificationmethod.py b/endpoints/notificationmethod.py index 52464fda0..4d2d685f8 100644 --- a/endpoints/notificationmethod.py +++ b/endpoints/notificationmethod.py @@ -1,14 +1,10 @@ import logging -import io -import os.path -import tarfile -import base64 import json import requests import re from flask.ext.mail import Message -from app import mail, app, get_app_url +from app import mail, app from data import model from workers.worker import JobException diff --git a/tools/migrateslackwebhook.py b/tools/migrateslackwebhook.py index 4a1c6e5f8..9d4c3ba61 100644 --- a/tools/migrateslackwebhook.py +++ b/tools/migrateslackwebhook.py @@ -1,9 +1,7 @@ -import argparse import logging import json from app import app -from data import model from data.database import configure, RepositoryNotification, ExternalNotificationMethod configure(app.config)