Skip to content

Commit afbc9fd

Browse files
committed
chore: tweak comment about docker-py
1 parent 3ca5849 commit afbc9fd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

requests_unixsocket/adapters.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This file contains code that was adapted from some code from docker-py
2+
# (Apache License 2.0)
3+
# https://github.com/docker/docker-py/blob/master/docker/transport/unixconn.py
4+
15
import socket
26

37
from requests.adapters import HTTPAdapter
@@ -15,8 +19,7 @@
1519

1620
from .settings import default_settings
1721

18-
# The following was adapted from some code from docker-py
19-
# https://github.com/docker/docker-py/blob/master/docker/transport/unixconn.py
22+
2023
class UnixHTTPConnection(httplib.HTTPConnection, object):
2124

2225
def __init__(self, url, timeout=60, settings=None):

0 commit comments

Comments
 (0)