[Twisted-Python] errno handling in udp.py

Jp Calderone exarkun at intarweb.us
Tue Apr 15 03:46:31 EDT 2003


  I noticed this in my local repository today, but I only vaguely remember
making the change, and I don't remember at all whether my version is out of
date or up to date and I forgot to commit it.  Anyone know?

===================================================================
RCS file: /cvs/Twisted/twisted/internet/udp.py,v
retrieving revision 1.38
diff -u -r1.38 udp.py
--- internet/udp.py     24 Feb 2003 23:04:15 -0000      1.38
+++ internet/udp.py     15 Apr 2003 07:46:53 -0000
@@ -33,7 +33,7 @@

 if os.name == 'nt':
     EWOULDBLOCK = 10035
-elif os.name != 'java':
+if os.name != 'java':
     from errno import EWOULDBLOCK, EINTR, EMSGSIZE, ECONNREFUSED

 # Twisted Imports


  Jp

-- 
<sil> thanks again exarkun, you're really helpful
-- 
 up 26 days, 3:02, 3 users, load average: 0.21, 0.15, 0.10
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030415/72daa091/attachment.pgp 


More information about the Twisted-Python mailing list