diff options
Diffstat (limited to 'Lib/socket.py')
-rw-r--r-- | Lib/socket.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py index c928700..136a052 100644 --- a/Lib/socket.py +++ b/Lib/socket.py @@ -48,7 +48,8 @@ __all__.extend(os._get_exports_list(_socket)) 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: |