~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/protocol.py

  • Committer: Andrew Bennetts
  • Date: 2008-11-26 13:17:17 UTC
  • mto: This revision was merged to the branch mainline in revision 3981.
  • Revision ID: andrew.bennetts@canonical.com-20081126131717-h8y9qk87hfkjf963
Remove some debugging cruft, make more tests pass.

Show diffs side-by-side

added added

removed removed

Lines of Context:
655
655
        if 'hpss' in debug.debug_flags:
656
656
            mutter('              %d bytes in readv request', len(readv_bytes))
657
657
        self._last_verb = args[0]
 
658
    
 
659
    def call_with_body_stream(self, args, stream):
 
660
        # Protocols v1 and v2 don't support body streams.  So it's safe to
 
661
        # assume that a v1/v2 server doesn't support whatever method we're
 
662
        # trying to call with a body stream.
 
663
        raise errors.UnknownSmartMethod(args[0])
658
664
 
659
665
    def cancel_read_body(self):
660
666
        """After expecting a body, a response code may indicate one otherwise.