Skip to content

Commit 0257f99

Browse files
author
Callum Oakley
committed
reordered imports
1 parent 7921435 commit 0257f99

File tree

7 files changed

+32
-31
lines changed

7 files changed

+32
-31
lines changed

pusher/authentication_client.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
absolute_import,
77
division)
88

9+
import collections
10+
import hashlib
11+
import json
12+
import os
13+
import re
14+
import six
15+
import time
16+
917
from pusher.util import (
1018
ensure_text,
1119
validate_channel,
@@ -16,14 +24,6 @@
1624
from pusher.http import GET, POST, Request, request_method
1725
from pusher.signature import sign, verify
1826

19-
import collections
20-
import hashlib
21-
import json
22-
import os
23-
import re
24-
import six
25-
import time
26-
2727

2828
class AuthenticationClient(Client):
2929
def __init__(

pusher/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
absolute_import,
77
division)
88

9-
from pusher.util import ensure_text, app_id_re
10-
119
import six
1210

11+
from pusher.util import ensure_text, app_id_re
12+
1313

1414
class Client(object):
1515
def __init__(

pusher/gae.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
division)
88

99
from google.appengine.api import urlfetch
10+
1011
from pusher.http import process_response
1112

1213

pusher/http.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
absolute_import,
77
division)
88

9-
from pusher.util import doc_string
10-
from pusher.errors import *
11-
from pusher.signature import sign
12-
from pusher.version import VERSION
13-
149
import copy
1510
import hashlib
1611
import json
1712
import six
1813
import time
1914

15+
from pusher.util import doc_string
16+
from pusher.errors import *
17+
from pusher.signature import sign
18+
from pusher.version import VERSION
19+
2020

2121
GET, POST, PUT, DELETE = "GET", "POST", "PUT", "DELETE"
2222

pusher/pusher.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
absolute_import,
77
division)
88

9+
import collections
10+
import hashlib
11+
import os
12+
import re
13+
import six
14+
import time
15+
916
from pusher.util import (
1017
ensure_text,
1118
pusher_url_re,
@@ -15,13 +22,6 @@
1522
from pusher.notification_client import NotificationClient
1623
from pusher.authentication_client import AuthenticationClient
1724

18-
import collections
19-
import hashlib
20-
import os
21-
import re
22-
import six
23-
import time
24-
2525

2626
class Pusher(object):
2727
"""Client for the Pusher HTTP API.

pusher/pusher_client.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
absolute_import,
77
division)
88

9+
import collections
10+
import hashlib
11+
import os
12+
import re
13+
import six
14+
import time
15+
916
from pusher.util import (
1017
ensure_text,
1118
validate_channel,
@@ -16,13 +23,6 @@
1623
from pusher.client import Client
1724
from pusher.http import GET, POST, Request, request_method
1825

19-
import collections
20-
import hashlib
21-
import os
22-
import re
23-
import six
24-
import time
25-
2626

2727
class PusherClient(Client):
2828
def __init__(

pusher/tornado.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
absolute_import,
77
division)
88

9-
from pusher.http import process_response
10-
119
import six
1210
import tornado
1311
import tornado.httpclient
1412

1513
from tornado.concurrent import TracebackFuture
1614

15+
from pusher.http import process_response
16+
1717

1818
class TornadoBackend(object):
1919
"""Adapter for the tornado.httpclient module.

0 commit comments

Comments
 (0)