~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/http_client.py

  • Committer: Martin Pool
  • Date: 2010-02-23 07:43:11 UTC
  • mfrom: (4797.2.20 2.1)
  • mto: This revision was merged to the branch mainline in revision 5055.
  • Revision ID: mbp@sourcefrog.net-20100223074311-gnj55xdhrgz9l94e
Merge 2.1 back to trunk

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: