~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/http_client.py

  • Committer: Vincent Ladeuil
  • Date: 2010-02-03 07:18:36 UTC
  • mto: (5008.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5009.
  • Revision ID: v.ladeuil+lp@free.fr-20100203071836-u9b86q68fr9ri5s6
Fix NEWS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
        debug("can't handle response status %r" % r.status)
236
236
        raise NotImplementedError()
237
237
 
238
 
    if r.content_length == None:
 
238
    if r.content_length is None:
239
239
        raise NotImplementedError()
240
240
 
241
241
    if r.content_length == 0: