Skip to content

Commit 3fb8606

Browse files
committed
Rename unix_sock -> unix_socket
1 parent 7ffa329 commit 3fb8606

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jupyter_server_proxy/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, *args, **kwargs):
3030
self.proxy_base = name
3131
self.absolute_url = absolute_url
3232
self.requested_port = port
33-
self.unix_sock = unix_socket
33+
self.unix_socket = unix_socket
3434
self.mappath = mappath
3535
self.rewrite_response = rewrite_response
3636

jupyter_server_proxy/handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ class SuperviseAndProxyHandler(LocalProxyHandler):
594594

595595
def __init__(self, *args, **kwargs):
596596
self.requested_port = 0
597-
self.unix_sock = False
597+
self.unix_socket = False
598598
self.mappath = {}
599599
self.command = list()
600600
super().__init__(*args, **kwargs)
@@ -613,7 +613,7 @@ def port(self):
613613
application
614614
"""
615615
if 'port' not in self.state and self.command:
616-
if self.unix_sock:
616+
if self.unix_socket:
617617
sock_dir = mkdtemp(prefix='jupyter-server-proxy-')
618618
self.state['port'] = os.path.join(sock_dir, 'socket')
619619
else:

0 commit comments

Comments
 (0)