Skip to content

Commit e89d13f

Browse files
committed
bug: remove socket setdefaulttimeout call.
I have no idea why that is here. Admin AFAIK doesn't use socket. Copypasta maybe?
1 parent 4a479f1 commit e89d13f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

roundup/scripts/roundup_admin.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@
4040

4141

4242
def run():
43-
# time out after a minute if we can
44-
import socket
45-
if hasattr(socket, 'setdefaulttimeout'):
46-
socket.setdefaulttimeout(60)
4743
tool = AdminTool()
4844
sys.exit(tool.main())
4945

0 commit comments

Comments
 (0)