On Fri, 9 May 2008 19:08:51 +0200
"Raphael Studer" <[EMAIL PROTECTED]> wrote:
>     self._sock.sendall(buffer)
> error: (32, 'Broken pipe')
> ----------------------------------------

The following patch would suppress these error messages:

3c3
< import urllib,re,os,sys,stat,errno
---
> import urllib,re,os,sys,stat,errno,socket
40a41,42
>       except socket.error, (code, msg):
>         if code == errno.EPIPE: print "client aborted connection"

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to