Skip to content

Commit 897b57d

Browse files
harshith-212shubhluck
authored andcommitted
ODP-991: Fix phoenix-queryserver/bin/daemon.py for python3.8
1 parent 2f88e51 commit 897b57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phoenix-queryserver/bin/daemon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,9 +727,9 @@ def is_socket(fd):
727727
"""
728728
result = False
729729

730-
file_socket = socket.fromfd(fd, socket.AF_INET, socket.SOCK_RAW)
731730

732731
try:
732+
file_socket = socket.fromfd(fd, socket.AF_INET, socket.SOCK_RAW)
733733
socket_type = file_socket.getsockopt(
734734
socket.SOL_SOCKET, socket.SO_TYPE)
735735
except socket.error as exc:

0 commit comments

Comments
 (0)