diff Lib/socket.py @ 16949:09ba15ee1961 legacy-trunk

RISCOS changes by dschwertberger.
author Guido van Rossum <guido@python.org>
date Fri, 02 Mar 2001 06:43:49 +0000
parents f68dbffff927
children b45ae8c467aa
line wrap: on
line diff
--- a/Lib/socket.py	Fri Mar 02 06:42:34 2001 +0000
+++ b/Lib/socket.py	Fri Mar 02 06:43:49 2001 +0000
@@ -48,7 +48,8 @@
 del _socket
 
 if (sys.platform.lower().startswith("win")
-    or (hasattr(os, 'uname') and os.uname()[0] == "BeOS")):
+    or (hasattr(os, 'uname') and os.uname()[0] == "BeOS")
+    or (sys.platform=="RISCOS")):
 
     # be sure this happens only once, even in the face of reload():
     try: