~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/HTTPTestUtil.py

  • Committer: Robert Collins
  • Date: 2005-11-27 22:38:34 UTC
  • mfrom: (1185.33.36 bzr.dev)
  • Revision ID: robertc@robertcollins.net-20051127223834-d00ecca0d0b9384a
Merge from mpool, adjusting check to retain HTTP support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
            try:
45
45
                self.raw_requestline = self.rfile.readline()
46
46
            except socket.error, e:
47
 
                if e.args[0] == errno.EAGAIN:
 
47
                if e.args[0] in (errno.EAGAIN, errno.EWOULDBLOCK):
48
48
                    # omitted for now because some tests look at the log of
49
49
                    # the server and expect to see no errors.  see recent
50
50
                    # email thread. -- mbp 20051021.