Skip to content

Commit 26efb0d

Browse files
author
Tom Willis
committed
remove relative imports
1 parent d517e5f commit 26efb0d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

webobtoolkit/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
this is the client api it's mostly sugar
33
"""
4-
import filters
4+
from . import filters
55
from webob.client import send_request_app
66
from urllib import urlencode
77
from webob import Request

webobtoolkit/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
from webob import Request
55
from cookielib import CookieJar
6-
import log as l
6+
from . import log as l
77
import logging
88

99

webobtoolkit/log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
shared stuff to keep logging consistent
33
"""
4-
from constants import PAD
4+
from .constants import PAD
55

66

77
def HTTP_MSG(h):

webobtoolkit/testing.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
99
>>> assert_status_code._200(request, response)
1010
"""
11-
from constants import STATUS_CODES
12-
from log import PRINT_REQ, PRINT_RES
13-
from client import Client, client_pipeline
14-
from filters import auto_redirect_filter
11+
from .constants import STATUS_CODES
12+
from .log import PRINT_REQ, PRINT_RES
13+
from .client import Client, client_pipeline
14+
from .filters import auto_redirect_filter
1515

1616

1717
def _status_code_err_msg(request, response, expected):

0 commit comments

Comments
 (0)