/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/http_client.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-01-29 06:41:44 UTC
  • mfrom: (3923.4.2 bencode-tweak)
  • Revision ID: pqm@pqm.ubuntu.com-20090129064144-7kz4ibeppmn41zs9
Fix bencoding of bools,
        provide a bdecode_as_tuple function. (Andrew Bennetts)

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: