~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5247.3.17.

  • Committer: Vincent Ladeuil
  • Date: 2010-06-05 09:01:06 UTC
  • mto: (5247.4.3 sftp-leaks)
  • mto: This revision was merged to the branch mainline in revision 5396.
  • Revision ID: v.ladeuil+lp@free.fr-20100605090106-x5intbf9udhfpvwu
Fix another python tiny bug revealed by pycurl being picky.

* bzrlib/tests/http_server.py:
(TestingHTTPRequestHandler.handle): Ovverride to properly close
the underlying socket that SocketServer.StreamRequestHandler leave
opened.
(TestingHTTPRequestHandler.do_GET): s/file/f/ using python
primitives as variable names is a receipe for disaster.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: