Skip to content

Commit abcd157

Browse files
committed
Python 3 fix for the bottle handler.
1 parent 0ab4c37 commit abcd157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

raven/contrib/bottle/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import logging
2-
import urlparse
2+
from raven.utils.compat import _urlparse
33

44
from raven.utils.wsgi import get_headers, get_environ
55

66
logger = logging.getLogger(__name__)
77

88

99
def get_data_from_request(request):
10-
urlparts = urlparse.urlsplit(request.url)
10+
urlparts = _urlparse.urlsplit(request.url)
1111

1212
try:
1313
form_dict = request.forms.dict

0 commit comments

Comments
 (0)