~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/HTTPTestUtil.py

  • Committer: Aaron Bentley
  • Date: 2005-11-25 04:30:47 UTC
  • mfrom: (1508.1.15)
  • mto: (1185.65.14 storage)
  • mto: This revision was merged to the branch mainline in revision 1550.
  • Revision ID: aaron.bentley@utoronto.ca-20051125043047-420c01b3982f9cda
MergedĀ theĀ mainline

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.