~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/client.py

  • Committer: Aaron Bentley
  • Date: 2008-06-06 16:40:46 UTC
  • mfrom: (3482 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3483.
  • Revision ID: aaron@aaronbentley.com-20080606164046-ghbxplxuhtpcb9iz
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
                        % (protocol_version,))
77
77
                    self._medium.disconnect()
78
78
                    continue
 
79
                except errors.ErrorFromSmartServer:
 
80
                    # If we received an error reply from the server, then it
 
81
                    # must be ok with this protocol version.
 
82
                    self._medium._protocol_version = protocol_version
 
83
                    raise
79
84
                else:
80
85
                    self._medium._protocol_version = protocol_version
81
86
                    return response_tuple, response_handler