[pypy-svn] r18641 - pypy/dist/pypy/module/_socket

dialtone at codespeak.net dialtone at codespeak.net
Sat Oct 15 17:32:57 CEST 2005


Author: dialtone
Date: Sat Oct 15 17:32:55 2005
New Revision: 18641

Modified:
   pypy/dist/pypy/module/_socket/interp_socket.py
Log:
(afa, valentino) fix under posix


Modified: pypy/dist/pypy/module/_socket/interp_socket.py
==============================================================================
--- pypy/dist/pypy/module/_socket/interp_socket.py	(original)
+++ pypy/dist/pypy/module/_socket/interp_socket.py	Sat Oct 15 17:32:55 2005
@@ -69,6 +69,7 @@
     def socket_strerror(errno):
         return WIN32_ERROR_MESSAGES.get(errno, "winsock error")
 else:
+    import os
     def socket_strerror(errno):
         return os.strerror(errno)
 



More information about the Pypy-commit mailing list