~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/http_client.py

  • Committer: Aaron Bentley
  • Date: 2007-01-11 03:46:53 UTC
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20070111034653-wa1n3uy49wbvom5m
Remove get_format_*, make FormatRegistry.register_metadir vary working tree

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: