Skip to content

Commit

Permalink
Merge a8cb86f into c3bb26e
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrevicenzi committed Feb 7, 2019
2 parents c3bb26e + a8cb86f commit 2b011a8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
18 changes: 11 additions & 7 deletions fastpurge/_client.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
from threading import local, Lock
import json
import logging
import os

from collections import namedtuple
from six.moves.urllib.parse import urljoin
from threading import local, Lock

import requests

from six import string_types
from six.moves.urllib.parse import urljoin

from akamai.edgegrid import EdgeGridAuth
from akamai.edgegrid.edgerc import EdgeRc
from monotonic import monotonic
import logging
import requests
from more_executors import Executors
from more_executors.futures import f_sequence
from akamai.edgegrid import EdgeGridAuth
from akamai.edgegrid.edgerc import EdgeRc

LOG = logging.getLogger('fastpurge')

Expand Down Expand Up @@ -157,7 +161,7 @@ def __poll_purges(cls, descriptors):
LOG.debug("purge_id %s not expected to complete yet", purge_id)
continue

# In CCUv3, unlike CCUv2, Akamai do not provide any method to query the status
# In CCUv3, unlike CCUv2, Akamai does not provide any method to query the status
# of a purge :(
#
# Here's what they say in the FAQ about this https://bit.ly/2BvDR5x
Expand Down
3 changes: 2 additions & 1 deletion tests/test_auth_dict.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pytest
import os
import textwrap

import pytest

from fastpurge import FastPurgeError
from fastpurge._client import get_auth_dict

Expand Down
3 changes: 2 additions & 1 deletion tests/test_purge.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from monotonic import monotonic
import pytest
import requests_mock
import mock

from monotonic import monotonic

from fastpurge import FastPurgeClient, FastPurgeError

# pylint: disable=unused-argument
Expand Down

0 comments on commit 2b011a8

Please sign in to comment.