~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/protocol.py

  • Committer: Andrew Bennetts
  • Date: 2008-05-14 07:35:27 UTC
  • mto: This revision was merged to the branch mainline in revision 3428.
  • Revision ID: andrew.bennetts@canonical.com-20080514073527-u6oe3rj6v0v95z8m
Clarify the code a little.

Show diffs side-by-side

added added

removed removed

Lines of Context:
830
830
            # So we call accept_bytes again to restart it.
831
831
            self.accept_bytes('')
832
832
        except Exception, exception:
 
833
            # The decoder itself has raised an exception.  We cannot continue
 
834
            # decoding.
833
835
            self.decoding_failed = True
834
836
            if isinstance(exception, errors.UnexpectedProtocolVersionMarker):
835
837
                # This happens during normal operation when the client tries a