Skip to content

Commit c818ef2

Browse files
author
Matthew Fisher
committed
style(controller): fix flake8
1 parent b8629ef commit c818ef2

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

controller/api/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import logging
1111
import os
1212
import subprocess
13-
from urlparse import urlparse
1413

1514
from celery.canvas import group
1615
from django.conf import settings

controller/api/tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
import requests
1111
import threading
12-
from urlparse import urlparse
1312

1413
from celery import task
1514
from django.conf import settings
@@ -44,7 +43,7 @@ def import_repository(source, target_repository):
4443
data = {
4544
'src': source,
4645
}
47-
response = requests.post(
46+
requests.post(
4847
'{}/v1/repositories/{}/tags'.format(settings.REGISTRY_URL,
4948
target_repository),
5049
data=data,

0 commit comments

Comments
 (0)